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>
This commit is contained in:
@@ -11,17 +11,8 @@
|
||||
struct perf_evlist;
|
||||
struct perf_evsel;
|
||||
|
||||
struct source_line {
|
||||
u64 eip;
|
||||
unsigned long count[MAX_COUNTERS]; /* FIXME */
|
||||
char *line;
|
||||
struct source_line *next;
|
||||
};
|
||||
|
||||
struct sym_entry_source {
|
||||
struct source_line *source;
|
||||
struct source_line *lines;
|
||||
struct source_line **lines_tail;
|
||||
struct list_head head;
|
||||
pthread_mutex_t lock;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user