summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBrian Kocoloski <brian.kocoloski@amd.com>2025-11-20 21:57:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-17 18:35:32 +0300
commit9fd86747daa6c607c33a5b2dfedc2f430d36e4af (patch)
tree9f25963d282791d3e36b1ddc6882bc2af4ebdd21 /tools/perf/scripts/python/stackcollapse.py
parent6fcfcf792ce8a46c95317ea0099aff5290dda9a6 (diff)
downloadlinux-9fd86747daa6c607c33a5b2dfedc2f430d36e4af.tar.xz
drm/amdkfd: Fix improper NULL termination of queue restore SMI event string
[ Upstream commit 969faea4e9d01787c58bab4d945f7ad82dad222d ] Pass character "0" rather than NULL terminator to properly format queue restoration SMI events. Currently, the NULL terminator precedes the newline character that is intended to delineate separate events in the SMI event buffer, which can break userspace parsers. Signed-off-by: Brian Kocoloski <brian.kocoloski@amd.com> Reviewed-by: Philip Yang <Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 6e7143e5e6e21f9d5572e0390f7089e6d53edf3c) Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions