summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2018-03-20 15:03:30 +0100
committerArnaldo Carvalho de Melo2018-03-21 16:53:43 +0100
commit425859ff0de33a2362bec2a2c7ca486f87c13100 (patch)
tree1ef9871404ea23cb97deef2e5370f4a119b8f9c3 /tools/perf/util/annotate.h
parentperf annotate browser: Add 'P' hotkey to dump annotation to file (diff)
downloadkernel-qcow2-linux-425859ff0de33a2362bec2a2c7ca486f87c13100.tar.gz
kernel-qcow2-linux-425859ff0de33a2362bec2a2c7ca486f87c13100.tar.xz
kernel-qcow2-linux-425859ff0de33a2362bec2a2c7ca486f87c13100.zip
perf annotate: No need to calculate notes->start twice
Since we already set notes->start to map__rip_2objdump(map, sym->start) in symbol__annotate2(), no need to calculate that address again in symbol__calc_lines(), just use notes->start. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-ycxlg8mm5ueuj21w6gi62l7g@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions