summaryrefslogtreecommitdiffstats
path: root/tools/build/Build
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2017-01-04 12:29:05 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-01-04 11:15:09 -0300
commiteebc509b20881b92d62e317b2c073e57c5f200f0 (patch)
tree17f4760a7a3f1990968c0b886b5a902d73365970 /tools/build/Build
parent7934c98a6e04028eb34c1293bfb5a6b0ab630b66 (diff)
downloadlinux-eebc509b20881b92d62e317b2c073e57c5f200f0.tar.bz2
perf probe: Fix --funcs to show correct symbols for offline module
Fix --funcs (-F) option to show correct symbols for offline module. Since previous perf-probe uses machine__findnew_module_map() for offline module, even if user passes a module file (with full path) which is for other architecture, perf-probe always tries to load symbol map for current kernel module. This fix uses dso__new_map() to load the map from given binary as same as a map for user applications. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/148350053478.19001.15435255244512631545.stgit@devbox Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/Build')
0 files changed, 0 insertions, 0 deletions