diff options
| author | Felix Kuehling <[email protected]> | 2020-06-11 23:19:37 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 01:59:21 -0400 |
| commit | b205795677c034a1975e75a466ad158950fde4b4 (patch) | |
| tree | 131a04e30eb868e0ff6c925631d7c500f8a65c69 /tools/perf/scripts/python/syscall-counts.py | |
| parent | e3569fab49886123c81f18d675fb1719d73cf27d (diff) | |
drm/amdkfd: Add eviction debug messages
Use WARN to print messages with backtrace when evictions are triggered.
This can help determine the root cause of evictions and help spot driver
bugs triggering evictions unintentionally, or help with performance tuning
by avoiding conditions that cause evictions in a specific workload.
The messages are controlled by a new module parameter that can be changed
at runtime:
echo Y > /sys/module/amdgpu/parameters/debug_evictions
echo N > /sys/module/amdgpu/parameters/debug_evictions
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Philip Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions