diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-20 11:03:30 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-21 12:53:43 -0300 |
commit | 425859ff0de33a2362bec2a2c7ca486f87c13100 (patch) | |
tree | 1ef9871404ea23cb97deef2e5370f4a119b8f9c3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d9bd766584491dbb6f96c85a27562eb1289b2ca9 (diff) |
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 <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jin Yao <[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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions