From: Wang Nan <wangnan0@huawei.com>
To: <acme@kernel.org>, <adrian.hunter@intel.com>, <dev@codyps.com>,
<hekuang@huawei.com>, <kirr@nexedi.com>
Cc: <linux-kernel@vger.kernel.org>, Wang Nan <wangnan0@huawei.com>,
"Arnaldo Carvalho de Melo" <acme@redhat.com>,
Jiri Olsa <jolsa@kernel.org>,
"Masami Hiramatsu" <masami.hiramatsu.pt@hitachi.com>,
Namhyung Kim <namhyung@kernel.org>, Li Zefan <lizefan@huawei.com>,
<pi3orama@163.com>
Subject: [PATCH 0/2] perf tools: Fix symbol error on ARM64
Date: Tue, 2 Feb 2016 08:56:04 +0000 [thread overview]
Message-ID: <1454403366-27055-1-git-send-email-wangnan0@huawei.com> (raw)
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
next reply other threads:[~2016-02-02 8:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 8:56 Wang Nan [this message]
2016-02-02 8:56 ` [PATCH 1/2] perf tools: Record text offset in dso to calculate objdump address Wang Nan
2016-02-02 8:56 ` [PATCH 2/2] perf tools: Adjust symbol for shared objects Wang Nan
2016-02-02 15:18 ` Namhyung Kim
2016-02-03 2:12 ` Wangnan (F)
2016-02-03 13:55 ` Namhyung Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454403366-27055-1-git-send-email-wangnan0@huawei.com \
--to=wangnan0@huawei.com \
--cc=acme@kernel.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=dev@codyps.com \
--cc=hekuang@huawei.com \
--cc=jolsa@kernel.org \
--cc=kirr@nexedi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=namhyung@kernel.org \
--cc=pi3orama@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.