diff options
author | Yuan Can <yuancan@huawei.com> | 2024-11-06 09:35:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-08 11:45:29 -0500 |
commit | 21cae8debc6a1d243f64fa82cd1b41cb612b5c61 (patch) | |
tree | c538d2f7db2ce81132f52bfbef6d047d39811fbe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1b4ca8546f5b5c482717bedb8e031227b1541539 (diff) |
drm/amdkfd: Fix wrong usage of INIT_WORK()
In kfd_procfs_show(), the sdma_activity_work_handler is a local variable
and the sdma_activity_work_handler.sdma_activity_work should initialize
with INIT_WORK_ONSTACK() instead of INIT_WORK().
Fixes: 32cb59f31362 ("drm/amdkfd: Track SDMA utilization per process")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions