aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index a3c13bcd5a8d..72458d9da5b1 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -1269,7 +1269,7 @@ void perf_session__print_ip(union perf_event *event,
1269 } 1269 }
1270 1270
1271 } else { 1271 } else {
1272 printf("%16" PRIx64, al.addr); 1272 printf("%16" PRIx64, sample->ip);
1273 if (print_sym) { 1273 if (print_sym) {
1274 if (al.sym && al.sym->name) 1274 if (al.sym && al.sym->name)
1275 symname = al.sym->name; 1275 symname = al.sym->name;