diff options
author | 2020-05-28 13:19:16 +0800 | |
---|---|---|
committer | 2020-05-29 16:51:38 -0300 | |
commit | 1e4bd2ae4564adbf9f9b6d26fad65ddabd0147fc (patch) | |
tree | b2898dbca7ec2fd9df297db00c03ab03088faecb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf jvmti: Remove redundant jitdump line table entries (diff) | |
download | wireguard-linux-1e4bd2ae4564adbf9f9b6d26fad65ddabd0147fc.tar.xz wireguard-linux-1e4bd2ae4564adbf9f9b6d26fad65ddabd0147fc.zip |
perf jit: Fix inaccurate DWARF line table
Fix an issue where addresses in the DWARF line table are offset by -0x40
(GEN_ELF_TEXT_OFFSET). This can be seen with `objdump -S` on the ELF
files after perf inject.
Committer notes:
Ian added this in his Acked-by reply:
---
Without too much knowledge this looks good to me. The original code came
from oprofile's jit support:
https://sourceforge.net/p/oprofile/oprofile/ci/master/tree/opjitconv/debug_line.c#l325
---
Signed-off-by: Nick Gasson <nick.gasson@arm.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20200528051916.6722-1-nick.gasson@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions