diff options
author | Arthur Pastel <arthur.pastel@gmail.com> | 2023-05-07 21:42:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 20:42:26 +0100 |
commit | 8d95012c95988dc517db6e09348aab996868699c (patch) | |
tree | d964d20c0877c551d81d644e22e013a54fb06fe6 /Python/perf_trampoline.c | |
parent | e8d77b03e08a4c7e7dde0830c5a12a0b41ff7c33 (diff) | |
download | cpython-git-8d95012c95988dc517db6e09348aab996868699c.tar.gz |
gh-103650: Fix perf maps address format (#103651)
Diffstat (limited to 'Python/perf_trampoline.c')
-rw-r--r-- | Python/perf_trampoline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/perf_trampoline.c b/Python/perf_trampoline.c index 1957ab82c3..3b183280e1 100644 --- a/Python/perf_trampoline.c +++ b/Python/perf_trampoline.c @@ -253,7 +253,7 @@ perf_map_write_entry(void *state, const void *code_addr, NULL); return; } - fprintf(method_file, "%p %x py::%s:%s\n", code_addr, code_size, entry, + fprintf(method_file, "%" PRIxPTR " %x py::%s:%s\n", (uintptr_t) code_addr, code_size, entry, filename); fflush(method_file); } |