summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2025-02-21 14:45:19 +0100
committerAlex Deucher <alexander.deucher@amd.com>2026-03-17 10:45:20 -0400
commit4bbba79a7f1d0c7296bf8c935d65a9ff633f6917 (patch)
treee6f6d95e45fc091d563b51c5951de49080fa724e /tools/perf/scripts/python/stackcollapse.py
parent15e19d832bae7921f9c18fd274aa51ee3e75342b (diff)
drm/amdgpu: move devcoredump generation to a worker
Update the way drm_coredump_printer is used based on its documentation and Xe's code: the main idea is to generate the final version in one go and then use memcpy to return the chunks requested by the caller of amdgpu_devcoredump_read. The generation is moved to a separate worker thread. This cuts the time to copy the dump from 40s to ~0s on my machine. --- v3: - removed adev->coredump_in_progress and instead use work as the synchronisation mechanism - use kvfree instead of kfree --- Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.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