diff options
author | Stephane Eranian <eranian@google.com> | 2012-03-08 17:47:48 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-03-09 02:26:08 -0500 |
commit | a68c2c58171391ef368fced32a555b2f0ff106e5 (patch) | |
tree | 9952e5bb45d3890e67f9f81ad704489d5a114d94 /tools/perf/util/symbol.h | |
parent | 993ac88d5892629fbe1f8a54857f9947f49f0d96 (diff) |
perf report: Enable TUI in branch view mode
This patch updates perf report to support TUI mode
when the perf.data file contains samples with branch
stacks.
For each row in the report, it is possible to annotate
either the source or target of each branch.
Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: peterz@infradead.org
Cc: acme@redhat.com
Cc: asharma@fb.com
Cc: ravitillo@lbl.gov
Cc: vweaver1@eecs.utk.edu
Cc: khandual@linux.vnet.ibm.com
Cc: dsahern@gmail.com
Link: http://lkml.kernel.org/r/1331246868-19905-5-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 5866ce6b9c02..ac49ef208a5f 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -97,7 +97,11 @@ struct symbol_conf { | |||
97 | *col_width_list_str; | 97 | *col_width_list_str; |
98 | struct strlist *dso_list, | 98 | struct strlist *dso_list, |
99 | *comm_list, | 99 | *comm_list, |
100 | *sym_list; | 100 | *sym_list, |
101 | *dso_from_list, | ||
102 | *dso_to_list, | ||
103 | *sym_from_list, | ||
104 | *sym_to_list; | ||
101 | const char *symfs; | 105 | const char *symfs; |
102 | }; | 106 | }; |
103 | 107 | ||
@@ -125,6 +129,7 @@ struct addr_map_symbol { | |||
125 | struct map *map; | 129 | struct map *map; |
126 | struct symbol *sym; | 130 | struct symbol *sym; |
127 | u64 addr; | 131 | u64 addr; |
132 | u64 al_addr; | ||
128 | }; | 133 | }; |
129 | 134 | ||
130 | struct branch_info { | 135 | struct branch_info { |