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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c
index e7294c8fc620..047fef74bd52 100644
--- a/tools/perf/builtin-kmem.c
+++ b/tools/perf/builtin-kmem.c
@@ -420,7 +420,7 @@ static void __print_result(struct rb_root *root, int n_lines, int is_caller)
420 if (is_caller) { 420 if (is_caller) {
421 addr = data->call_site; 421 addr = data->call_site;
422 if (!raw_ip) 422 if (!raw_ip)
423 sym = kernel_maps__find_function(addr, NULL, NULL); 423 sym = thread__find_function(kthread, addr, NULL);
424 } else 424 } else
425 addr = data->ptr; 425 addr = data->ptr;
426 426