aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-02-27 12:47:59 +0100
committerIngo Molnar <mingo@kernel.org>2014-02-27 12:47:59 +0100
commitb6e53f321ee6f4b237d8cc54fbace3217fa96e05 (patch)
tree40c47bafa6bc1321e0ab2be82a5e4d618c1caa8b /tools/perf/util/annotate.h
parentperf: Fix hotplug splat (diff)
parentperf symbols: Destroy unused symsrcs (diff)
downloadwireguard-linux-b6e53f321ee6f4b237d8cc54fbace3217fa96e05.tar.xz
wireguard-linux-b6e53f321ee6f4b237d8cc54fbace3217fa96e05.zip
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo: * Fix annotation on stdio/GTK+ interfaces (Namhyung Kim) * Fix file descriptor leaking while searching DSOs for suitable symtab (Namhyung Kim). Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/annotate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index b2aef59d6bb2..56ad4f5287de 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -151,6 +151,8 @@ void symbol__annotate_zero_histogram(struct symbol *sym, int evidx);
void symbol__annotate_decay_histogram(struct symbol *sym, int evidx);
void disasm__purge(struct list_head *head);
+bool ui__has_annotation(void);
+
int symbol__tty_annotate(struct symbol *sym, struct map *map,
struct perf_evsel *evsel, bool print_lines,
bool full_paths, int min_pcnt, int max_lines);