aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r--tools/perf/builtin-script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index a7d623f39c46..2ad9d5b6fb3c 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -361,10 +361,10 @@ static void print_sample_addr(union perf_event *event,
361 return; 361 return;
362 362
363 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, 363 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION,
364 sample->addr, &al, NULL); 364 sample->addr, &al);
365 if (!al.map) 365 if (!al.map)
366 thread__find_addr_map(thread, machine, cpumode, MAP__VARIABLE, 366 thread__find_addr_map(thread, machine, cpumode, MAP__VARIABLE,
367 sample->addr, &al, NULL); 367 sample->addr, &al);
368 368
369 al.cpu = sample->cpu; 369 al.cpu = sample->cpu;
370 al.sym = NULL; 370 al.sym = NULL;