diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-18 15:07:38 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-18 15:07:38 -0400 |
commit | d86b0597c4bd41ea3edc6446a855306eed34f93b (patch) | |
tree | a2363453f0073ccaf7defddde7ac703a2a71bbd9 /tools/perf/util/annotate.h | |
parent | 4f9d03251b9d202ebce805757360ef0fac5eb74e (diff) |
perf annotate: Parse call targets earlier
No need to do it everytime the user presses enter/-> on a call
instruction.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ybgss44m5ycry8mk7b1qdbre@git.kernel.org
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 934c6fe3a91b..a2105f204a42 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
@@ -17,6 +17,7 @@ struct ins { | |||
17 | }; | 17 | }; |
18 | 18 | ||
19 | bool ins__is_jump(const struct ins *ins); | 19 | bool ins__is_jump(const struct ins *ins); |
20 | bool ins__is_call(const struct ins *ins); | ||
20 | 21 | ||
21 | struct disasm_line { | 22 | struct disasm_line { |
22 | struct list_head node; | 23 | struct list_head node; |