projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1fe590
)
bcc_syms.cc: bug fix; identify VDSO using 'name' vs. 'path' (use of path incorrectly...
author
Pete Stevenson
<jps@pixielabs.ai>
Thu, 6 Jan 2022 23:09:54 +0000
(15:09 -0800)
committer
Pete Stevenson
<jps@pixielabs.ai>
Fri, 7 Jan 2022 17:23:38 +0000
(09:23 -0800)
Signed-off-by: Pete Stevenson <jps@pixielabs.ai>
src/cc/bcc_syms.cc
patch
|
blob
|
history
diff --git
a/src/cc/bcc_syms.cc
b/src/cc/bcc_syms.cc
index 24f4277bf106684c0430b911a27255a7a8b1f2e6..12c8250b2910ce0c6636126980d9d15222a35093 100644
(file)
--- a/
src/cc/bcc_syms.cc
+++ b/
src/cc/bcc_syms.cc
@@
-238,7
+238,7
@@
ProcSyms::Module::Module(const char *name, const char *path,
// Other symbol files
if (bcc_is_valid_perf_map(path_.c_str()) == 1)
type_ = ModuleType::PERF_MAP;
- else if (bcc_elf_is_vdso(
path
_.c_str()) == 1)
+ else if (bcc_elf_is_vdso(
name
_.c_str()) == 1)
type_ = ModuleType::VDSO;
// Will be stored later