summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-05-31 19:23:30 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-05 20:43:34 +0300
commitc6c4dd54012551cce5cde408b35468f2c62b0cce (patch)
tree62d67f2d23974ad8fd17598c7d1d32da906ee152 /tools/perf/scripts/python/stackcollapse.py
parent267cace556e8a53d703119f7435ab556209e5b6a (diff)
downloadlinux-c6c4dd54012551cce5cde408b35468f2c62b0cce.tar.xz
drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds
Flexible arrays used [1] instead of []. Replace the former with the latter to resolve multiple UBSAN warnings observed on boot with a BONAIRE card. In addition, use the __counted_by attribute where possible to hint the length of the arrays to the compiler and any sanitizers. Signed-off-by: Tasos Sahanidis <tasos@tasossah.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions