Star64_linux/tools/perf
Nick Gasson 1e4bd2ae45 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>
2020-05-29 16:51:38 -03:00
..
arch perf intel-pt: Refine kernel decoding only warning message 2020-05-28 11:37:45 -03:00
bench
Documentation perf record: Respect --no-switch-events 2020-05-28 11:33:36 -03:00
examples/bpf
include/bpf
jvmti perf jvmti: Remove redundant jitdump line table entries 2020-05-29 16:51:38 -03:00
pmu-events
python
scripts
tests perf build: Add NO_SDT=1 to the default set of build tests 2020-05-29 16:51:38 -03:00
trace
ui
util perf jit: Fix inaccurate DWARF line table 2020-05-29 16:51:38 -03:00
.gitignore
Build
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-c2c.c
builtin-config.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-ftrace.c perf ftrace: Detect workload failure 2020-05-28 10:03:27 -03:00
builtin-help.c
builtin-inject.c
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c perf list: Add metrics to command line usage 2020-05-28 10:03:28 -03:00
builtin-lock.c
builtin-mem.c
builtin-probe.c
builtin-record.c perf record: Respect --no-switch-events 2020-05-28 11:33:36 -03:00
builtin-report.c
builtin-sched.c
builtin-script.c perf script: Fix --call-trace for Intel PT 2020-05-28 11:31:13 -03:00
builtin-stat.c perf metricgroup: Add options to not group or merge 2020-05-28 10:03:28 -03:00
builtin-timechart.c
builtin-top.c
builtin-trace.c perf trace: Grow the syscall table as needed when using libaudit 2020-05-29 16:51:11 -03:00
builtin-version.c
builtin.h
check-headers.sh
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config perf build: Remove libaudit from the default feature checks 2020-05-29 16:51:13 -03:00
Makefile.perf perf build: Allow explicitely disabling the NO_SYSCALL_TABLE variable 2020-05-29 16:50:24 -03:00
MANIFEST
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf.h