diff options
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r-- | tools/perf/util/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index 24ec5be4a1c0..0e9820ac4f5e 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c | |||
@@ -245,7 +245,7 @@ int event__synthesize_kernel_mmap(event__handler_t process, | |||
245 | */ | 245 | */ |
246 | struct process_symbol_args args = { .name = symbol_name, }; | 246 | struct process_symbol_args args = { .name = symbol_name, }; |
247 | 247 | ||
248 | if (kallsyms__parse(&args, find_symbol_cb) <= 0) | 248 | if (kallsyms__parse("/proc/kallsyms", &args, find_symbol_cb) <= 0) |
249 | return -ENOENT; | 249 | return -ENOENT; |
250 | 250 | ||
251 | size = snprintf(ev.mmap.filename, sizeof(ev.mmap.filename), | 251 | size = snprintf(ev.mmap.filename, sizeof(ev.mmap.filename), |