diff options
author | Zhang Rui <rui.zhang@intel.com> | 2024-03-12 14:23:37 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2024-04-09 14:04:23 -0400 |
commit | 4e2bbbf78cf7144204214fd0bd7cca309acd8f89 (patch) | |
tree | 03250c22da10ba431122716af271df816b37890a /tools/perf/scripts/python/flamegraph.py | |
parent | bb5db22c13125b38b0740e19c18ae94f8e5a0eb6 (diff) |
tools/power/turbostat: Cache graphics sysfs path
Graphics drivers (i915/Xe) have different sysfs knobs on different
platforms, and it is possible that different sysfs knobs fit into the
same turbostat columns.
Instead of specifying different sysfs knobs every time, detect them
once and cache the path for future use.
No functional change.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions