aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorZbigniew Lukwinski <[email protected]>2020-07-31 21:37:16 +0200
committerGuenter Roeck <[email protected]>2020-09-23 09:42:39 -0700
commit1967f712677429f52ac3e8896b5ecfecc2372d95 (patch)
tree5987d57e7a95f3ced20944e27faf7488ab6a4d1f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parente8e612350f178674ba738ae8ae8fd31467868a05 (diff)
hwmon: (core) Add support for rated attributes
Adding implementation for new attributes (rated_min/rated_max) for currentX, inX, powerX, tempX and humidityX. Tested with OpenBMC stack and simple hwmon driver using rated_min/rated_max for the following types of sensors: hwmon_temp, hwmon_in, hwmon_curr, hwmon_power, hwmon_humidity. For each sensor rated attributes were available and returned expected values. Signed-off-by: Zbigniew Lukwinski <[email protected]> Link: https://lore.kernel.org/r/1596224237-32280-3-git-send-email-zbigniew.lukwinski@linux.intel.com Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions