diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 15:09:54 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-31 22:27:48 -0300 |
commit | d3300a3c4e76ccecf4daa889327e340a870c550b (patch) | |
tree | 3daa0185836cd4f43261fdc3617cf611e822ba05 /tools/perf/util/symbol.c | |
parent | f2a39fe84901df2b3d1bec3459b65cee3e8db57c (diff) | |
download | lwn-d3300a3c4e76ccecf4daa889327e340a870c550b.tar.gz lwn-d3300a3c4e76ccecf4daa889327e340a870c550b.zip |
perf symbols: Move mem_info and branch_info out of symbol.h
The mem_info struct goes to mem-events.h and branch_info goes to
branch.h, where they belong, this way we can remove several headers from
symbols.h and trim the include dependency tree more.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-aupw71xnravcsu2xoabfmhpc@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index e5ffe61ad66b..765c75df2904 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -25,6 +25,8 @@ #include "machine.h" #include "map.h" #include "symbol.h" +#include "map_symbol.h" +#include "mem-events.h" #include "symsrc.h" #include "strlist.h" #include "intlist.h" |