diff options
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r-- | tools/perf/util/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 9f6d630d5316..1293b5ebea4d 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c | |||
@@ -599,7 +599,7 @@ static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_list *chain, | |||
599 | if (chain->ms.sym) | 599 | if (chain->ms.sym) |
600 | ret += fprintf(fp, "%s\n", chain->ms.sym->name); | 600 | ret += fprintf(fp, "%s\n", chain->ms.sym->name); |
601 | else | 601 | else |
602 | ret += fprintf(fp, "%p\n", (void *)(long)chain->ip); | 602 | ret += fprintf(fp, "0x%0" PRIx64 "\n", chain->ip); |
603 | 603 | ||
604 | return ret; | 604 | return ret; |
605 | } | 605 | } |