aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-03-19 14:51:43 -0700
committerAlexei Starovoitov <[email protected]>2024-03-19 22:54:04 -0700
commit5ab8cb89dbb6f3e111c8b0a9a86496da23c94439 (patch)
treee39824b931c665dba7872599e8d7a3982292e036 /tools/perf/scripts/python/intel-pt-events.py
parent7ded842b356d151ece8ac4985940438e6d3998bb (diff)
libbpf: fix u64-to-pointer cast on 32-bit arches
It's been reported that (void *)map->map_extra is causing compilation warnings on 32-bit architectures. It's easy enough to fix this by casting to long first. Fixes: 79ff13e99169 ("libbpf: Add support for bpf_arena.") Reported-by: Ryan Eatmon <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Message-ID: <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions