mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
perf annotate: Separate objdump parsing from actual screen rendering
Because in 'perf top' we'll need to parse just once and then, as samples come, render multiple times with evolving counter values. 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:
parent
d040bd3638
commit
f1e2701de0
2 changed files with 51 additions and 23 deletions
|
@ -67,6 +67,10 @@ int symbol__alloc_hist(struct symbol *sym, int nevents);
|
|||
|
||||
int symbol__annotate(struct symbol *sym, struct map *map,
|
||||
struct list_head *head, size_t privsize);
|
||||
void symbol__annotate_printf(struct symbol *sym, struct map *map,
|
||||
struct list_head *head, int evidx, bool full_paths,
|
||||
int min_pcnt, int max_lines);
|
||||
void objdump_line_list__purge(struct list_head *head);
|
||||
|
||||
int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx,
|
||||
bool print_lines, bool full_paths, int min_pcnt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue