diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 20:09:54 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-01 03:27:48 +0200 |
commit | d3300a3c4e76ccecf4daa889327e340a870c550b (patch) | |
tree | 3daa0185836cd4f43261fdc3617cf611e822ba05 /tools/perf/util/branch.h | |
parent | perf auxtrace: Uninline functions that touch perf_session (diff) | |
download | linux-d3300a3c4e76ccecf4daa889327e340a870c550b.tar.xz linux-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/branch.h')
-rw-r--r-- | tools/perf/util/branch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/branch.h b/tools/perf/util/branch.h index 64f96b79f1d7..06f66dad0b79 100644 --- a/tools/perf/util/branch.h +++ b/tools/perf/util/branch.h @@ -16,6 +16,14 @@ struct branch_flags { u64 reserved:40; }; +struct branch_info { + struct addr_map_symbol from; + struct addr_map_symbol to; + struct branch_flags flags; + char *srcline_from; + char *srcline_to; +}; + struct branch_entry { u64 from; u64 to; |