summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2026-07-29 16:23:58 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-08-06 09:50:13 -0400
commit3e8e92b7892a6377bef86106bfff1b98cf586aee (patch)
treebfbdf223e5eb57687e28694fb95c42b6d0f4465b /tools/perf/scripts/python/bin/stackcollapse-report
parent74d48bd6b7e12eba65de0507475b059966685ad1 (diff)
drm/amdgpu: Allocate coredump ring buffers per ring
Allocate each ring buffer separately. A single allocation summing all ring sizes can exceed the page allocator's MAX_ORDER limit and fail; per-ring buffers stay small enough to satisfy. The existing allocation style doesn't capture any ring data if the huge allocation fails. Splitting into multiple allocations helps to capture as much data as possible for the core dump. A failed ring is left with a NULL buffer and skipped when formatting. Fixes: eea85914d15b ("drm/amdgpu: save ring content before resetting the device") Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Assisted-by: Claude Code Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions