diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-05 12:37:31 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-05 12:37:31 -0500 |
commit | d040bd363824f9f0ad6610b91ee6c65f292c066c (patch) | |
tree | e0e4215e44e7971ea7901d57de5dce7369a87e6b /tools/perf/util/annotate.h | |
parent | 2f525d0148ef2734c8a172201e5e1e9167a8a5fd (diff) |
perf annotate: Config options for symbol__tty_annotate
Max line# that should be printed, minimum percentage filter, just like
'perf top', alas, due to it :-)
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/annotate.h')
-rw-r--r-- | tools/perf/util/annotate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 0a5069ca6dd7..6b707324e66f 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
@@ -69,7 +69,8 @@ int symbol__annotate(struct symbol *sym, struct map *map, | |||
69 | struct list_head *head, size_t privsize); | 69 | struct list_head *head, size_t privsize); |
70 | 70 | ||
71 | int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx, | 71 | int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx, |
72 | bool print_lines, bool full_paths); | 72 | bool print_lines, bool full_paths, int min_pcnt, |
73 | int max_lines); | ||
73 | 74 | ||
74 | #ifdef NO_NEWT_SUPPORT | 75 | #ifdef NO_NEWT_SUPPORT |
75 | static inline int symbol__tui_annotate(symbol *sym __used, | 76 | static inline int symbol__tui_annotate(symbol *sym __used, |