aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-kmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-kmem.c')
-rw-r--r--tools/perf/builtin-kmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c
index 330dbc762f9e..35722fafc4d1 100644
--- a/tools/perf/builtin-kmem.c
+++ b/tools/perf/builtin-kmem.c
@@ -445,8 +445,7 @@ static void __print_result(struct rb_root *root, int n_lines, int is_caller)
445 if (is_caller) { 445 if (is_caller) {
446 addr = data->call_site; 446 addr = data->call_site;
447 if (!raw_ip) 447 if (!raw_ip)
448 sym = kernel_maps__find_symbol(addr, 448 sym = kernel_maps__find_function(addr, NULL, NULL);
449 NULL, NULL);
450 } else 449 } else
451 addr = data->ptr; 450 addr = data->ptr;
452 451