summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorShih-Yuan Lee <fourdollars@debian.org>2026-07-11 17:33:21 +0800
committerGuenter Roeck <linux@roeck-us.net>2026-08-10 08:59:41 -0700
commitd33baed3fea26756ef3b077347b8da0de3f492f1 (patch)
tree64d617a9ecd221e569de4b648b6c7659df5fcedc /tools/perf/scripts/python/syscall-counts.py
parent26db273640887276a24ca2546b06e334508871f8 (diff)
hwmon: (applesmc) Cache fan positions during register initialization
To support the read_string callback for fan labels in the modern HWMON API, load and cache the fan position names in smcreg.fan_positions during register initialization. Pre-pad fallback labels with four spaces to match the "+ 4" pointer arithmetic offset used by all fan labels in the read_string callback. Signed-off-by: Shih-Yuan Lee <fourdollars@debian.org> Link: https://lore.kernel.org/r/20260711093323.14529-2-fourdollars@debian.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions