aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2021-02-09 13:17:01 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-02-09 13:19:50 +0000
commit6db59d357e8e720c91963dfd69604d238d2143cd (patch)
treed0e253f8632d2e737561c148cfbd20d836072185 /tools/perf/builtin-script.c
parentperf powerpc: Fix printf conversion specifier for IP addresses (diff)
downloadkernel-6db59d357e8e720c91963dfd69604d238d2143cd.tar.gz
kernel-6db59d357e8e720c91963dfd69604d238d2143cd.zip
perf arm64/s390: Fix printf conversion specifier for IP addresses
We need to use "%#" PRIx64 for u64 values, not "%lx". In arm64's and s390x cases the compiler doesn't complain, but lets fix this in case this code gets copied to a 32-bit arch, like with powerpc 32-bit that got fixed in the previous patch. Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Hewenliang <[email protected]> Cc: Hu Shiyuan <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Richter <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions