aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPu Lehui <[email protected]>2022-11-08 20:19:45 +0800
committerMartin KaFai Lau <[email protected]>2022-11-09 12:23:25 -0800
commit0811664da064c6d7ca64c02f5579f758a007e52d (patch)
tree4bf77529e25174d766661b6a90366a18ed1e32ce /tools/perf/scripts/python/stackcollapse.py
parenteb86559a691cea5fa63e57a03ec3dc9c31e97955 (diff)
selftests/bpf: Fix casting error when cross-compiling test_verifier for 32-bit platforms
When cross-compiling test_verifier for 32-bit platforms, the casting error is shown below: test_verifier.c:1263:27: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 1263 | info.xlated_prog_insns = (__u64)*buf; | ^ cc1: all warnings being treated as errors Fix it by adding zero-extension for it. Fixes: 933ff53191eb ("selftests/bpf: specify expected instructions in test_verifier tests") Signed-off-by: Pu Lehui <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions