projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f810961
)
perf tools: Fix symbol and object code resolution for vdso32 and vdsox32
author
Adrian Hunter
<adrian.hunter@intel.com>
Mon, 4 Jun 2018 12:56:54 +0000
(15:56 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 09:25:00 +0000
(11:25 +0200)
commit
aef4feace285f27c8ed35830a5d575bec7f3e90a
upstream.
Fix __kmod_path__parse() so that perf tools does not treat vdso32 and
vdsox32 as kernel modules and fail to find the object.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: stable@vger.kernel.org
Fixes:
1f121b03d058
("perf tools: Deal with kernel module names in '[]' correctly")
Link:
http://lkml.kernel.org/r/1528117014-30032-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/dso.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/dso.c
b/tools/perf/util/dso.c
index 00c98c968cb15f5d41dbec59295d231d73207ac0..505c13bf7e30d210c700b3c686a23cd5311ed56b 100644
(file)
--- a/
tools/perf/util/dso.c
+++ b/
tools/perf/util/dso.c
@@
-352,6
+352,8
@@
int __kmod_path__parse(struct kmod_path *m, const char *path,
if ((strncmp(name, "[kernel.kallsyms]", 17) == 0) ||
(strncmp(name, "[guest.kernel.kallsyms", 22) == 0) ||
(strncmp(name, "[vdso]", 6) == 0) ||
+ (strncmp(name, "[vdso32]", 8) == 0) ||
+ (strncmp(name, "[vdsox32]", 9) == 0) ||
(strncmp(name, "[vsyscall]", 10) == 0)) {
m->kmod = false;