diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-06 11:54:44 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-06 13:08:50 -0500 |
commit | 36532461a0f60bb36c5470a0326f7394f19db23c (patch) | |
tree | 3cf2108006fca07f0093eda19cde4438c8b52d80 /tools/perf/util/top.h | |
parent | f1e2701de02cff6d988b1dd49960620d5720cb89 (diff) |
perf top: Ditch private annotation code, share perf annotate's
Next step: Live TUI annotation in perf top, just press enter on a symbol
line.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/top.h')
-rw-r--r-- | tools/perf/util/top.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h index 500950818d2f..fe44afb69985 100644 --- a/tools/perf/util/top.h +++ b/tools/perf/util/top.h | |||
@@ -11,17 +11,8 @@ | |||
11 | struct perf_evlist; | 11 | struct perf_evlist; |
12 | struct perf_evsel; | 12 | struct perf_evsel; |
13 | 13 | ||
14 | struct source_line { | ||
15 | u64 eip; | ||
16 | unsigned long count[MAX_COUNTERS]; /* FIXME */ | ||
17 | char *line; | ||
18 | struct source_line *next; | ||
19 | }; | ||
20 | |||
21 | struct sym_entry_source { | 14 | struct sym_entry_source { |
22 | struct source_line *source; | 15 | struct list_head head; |
23 | struct source_line *lines; | ||
24 | struct source_line **lines_tail; | ||
25 | pthread_mutex_t lock; | 16 | pthread_mutex_t lock; |
26 | }; | 17 | }; |
27 | 18 | ||