aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Sierra <[email protected]>2023-07-19 16:20:58 -0500
committerAlex Deucher <[email protected]>2023-07-25 13:44:05 -0400
commit8923137dbe4b24863694c35284df51d036b5dd5e (patch)
tree9e29f69f640be753a1bfe27eb5291ac0b4f90730 /tools/perf/scripts/python/stackcollapse.py
parentabbd6cfb1d5a95e8fd07d2fdaa0fe328c2948a52 (diff)
drm/amdkfd: avoid svm dump when dynamic debug disabled
Set dynamic_svm_range_dump macro to avoid iterating over SVM lists from svm_range_debug_dump when dynamic debug is disabled. Otherwise, it could drop performance, specially with big number of SVM ranges. Make sure both svm_range_set_attr and svm_range_debug_dump functions are dynamically enabled to print svm_range_debug_dump debug traces. Signed-off-by: Alex Sierra <[email protected]> Tested-by: Alex Sierra <[email protected]> Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions