aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-03-02 14:59:36 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-03-05 12:58:45 +0000
commit696703af37a28892db89ff6a6d0cdfde6fb803ab (patch)
tree2085b7c0ac98337176cd65424c601a7dcf50fffc /tools/perf/util/annotate.h
parentperf record: Throttle user defined frequencies to the maximum allowed (diff)
downloadkernel-696703af37a28892db89ff6a6d0cdfde6fb803ab.tar.gz
kernel-696703af37a28892db89ff6a6d0cdfde6fb803ab.zip
perf annotate: Find 'call' instruction target symbol at parsing time
So that we do it just once, not everytime we press enter or -> on a 'call' instruction line. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index ce427445671f..7e914e834101 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -24,6 +24,7 @@ struct ins_operands {
struct {
char *raw;
char *name;
+ struct symbol *sym;
u64 addr;
s64 offset;
bool offset_avail;