linux-next/tools/power
Zhang Rui c7538f3385 tools/power turbostat: Cache graphics sysfs file descriptors during probe
Snapshots of the graphics sysfs knobs are taken based on file
descriptors. To optimize this process, open the files and cache the file
descriptors during the graphics probe phase. As a result, the previously
cached pathnames become redundant and are removed.

This change aims to streamline the code without altering its functionality.

No functional change intended.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2024-11-30 16:42:07 -05:00
..
acpi ACPI: tools: pfrut: Print the update_cap field during capability query 2024-04-26 19:27:34 +02:00
cpupower pm: cpupower: Clean up bindings gitignore 2024-09-23 09:06:03 -06:00
pm-graph pm-graph: Update directory handling and installation process in Makefile 2024-09-04 14:34:54 +02:00
x86 tools/power turbostat: Cache graphics sysfs file descriptors during probe 2024-11-30 16:42:07 -05:00