diff options
author | 2024-06-24 23:10:58 +0300 | |
---|---|---|
committer | 2024-07-04 16:00:22 +0200 | |
commit | 3df94a5b1078dfe2b0c03f027d018800faf44c82 (patch) | |
tree | 0a0add6a0d0a9af476b5efd535691239f130907c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation (diff) | |
download | wireguard-linux-3df94a5b1078dfe2b0c03f027d018800faf44c82.tar.xz wireguard-linux-3df94a5b1078dfe2b0c03f027d018800faf44c82.zip |
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 <adrian.hunter@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240624201101.60186-5-adrian.hunter@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions