summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2024-06-24 20:46:01 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-28 22:07:18 +0300
commit440db4075fa0cb517bb18ea7ec555d927f8fc030 (patch)
treefd9f910882ebac9fee4a9352f35b08d3abd9afcc /tools/perf/scripts/python/syscall-counts.py
parent0214b27fc949a7bcaf57e71a7f9f534d6481d08b (diff)
downloadlinux-440db4075fa0cb517bb18ea7ec555d927f8fc030.tar.xz
hwmon: iio: Add labels from IIO channels
Add labels from IIO channels to our channels. This allows userspace to display more meaningful names instead of "in0" or "temp5". Although lm-sensors gracefully handles errors when reading channel labels, the ABI says the label attribute > Should only be created if the driver has hints about what this voltage > channel is being used for, and user-space doesn't. Therefore, we test to see if the channel has a label before creating the attribute. Signed-off-by: Sean Anderson <sean.anderson@linux.dev> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://patch.msgid.link/20240624174601.1527244-3-sean.anderson@linux.dev Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions