Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1323890
| From | Wang Nan <wangnan0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] perf tools: Fix symbol error on ARM64 |
| Date | 2016-02-02 10:00 +0100 |
| Message-ID | <qXEYy-8na-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
He Kuang has described this problem at [1] that, on ARM64, perf report output wrong symbol for a shared object. These two patches solve this problem. The key is patch 2/2: force adjust symbol for shared object. However, after setting dso->adjust_symbols, map__rip_2objdump() also need to be adjust, or perf annotate reports incorrect result. Patch 1/1 prepare this change. [1] http://lkml.kernel.org/g/1452567507-54013-1-git-send-email-hekuang@huawei.com Wang Nan (2): perf tools: Record text offset in dso to calculate objdump address perf tools: Adjust symbol for shared objects tools/perf/util/dso.h | 1 + tools/perf/util/map.c | 14 ++++++++++++++ tools/perf/util/symbol-elf.c | 13 +++++++------ 3 files changed, 22 insertions(+), 6 deletions(-) Signed-off-by: Wang Nan <wangnan0@huawei.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Cody P Schafer <dev@codyps.com> Cc: He Kuang <hekuang@huawei.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kirill Smelkov <kirr@nexedi.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Li Zefan <lizefan@huawei.com> Cc: pi3orama@163.com -- 1.8.3.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] perf tools: Fix symbol error on ARM64 Wang Nan <wangnan0@huawei.com> - 2016-02-02 10:00 +0100
[PATCH 1/2] perf tools: Record text offset in dso to calculate objdump address Wang Nan <wangnan0@huawei.com> - 2016-02-02 10:00 +0100
[PATCH 2/2] perf tools: Adjust symbol for shared objects Wang Nan <wangnan0@huawei.com> - 2016-02-02 10:00 +0100
Re: [PATCH 2/2] perf tools: Adjust symbol for shared objects Namhyung Kim <namhyung@kernel.org> - 2016-02-02 16:20 +0100
Re: [PATCH 2/2] perf tools: Adjust symbol for shared objects "Wangnan (F)" <wangnan0@huawei.com> - 2016-02-03 03:20 +0100
Re: [PATCH 2/2] perf tools: Adjust symbol for shared objects Namhyung Kim <namhyung@kernel.org> - 2016-02-03 15:00 +0100
csiph-web