aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2024-06-24 23:10:58 +0300
committerPeter Zijlstra <[email protected]>2024-07-04 16:00:22 +0200
commit3df94a5b1078dfe2b0c03f027d018800faf44c82 (patch)
tree0a0add6a0d0a9af476b5efd535691239f130907c /tools/testing/selftests/bpf/progs/test_autoload.c
parent3520b251dcae2b4a27b95cd6f745c54fd658bda5 (diff)
perf: Fix perf_aux_size() for greater-than 32-bit size
perf_buffer->aux_nr_pages uses a 32-bit type, so a cast is needed to calculate a 64-bit size. Fixes: 45bfb2e50471 ("perf: Add AUX area to ring buffer for raw data streams") Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions