diff options
| author | Yang Wang <[email protected]> | 2024-03-26 16:54:03 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-09 21:48:40 -0400 |
| commit | 2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a (patch) | |
| tree | 7c8efdd15813c43a68a2bd6677083b52d5feccb3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d7f1487643552f18d1855474eba54a8ff3655935 (diff) | |
drm/amdgpu: make amdgpu device attr_update() function more efficient
v1:
add a new enumeration type to identify device attribute node,
this method is relatively more efficient compared with 'strcmp' in
update_attr() function.
v2:
rename device_attr_type to device_attr_id.
Signed-off-by: Yang Wang <[email protected]>
Reviewed-by: Ma Jun <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions