aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEddie James <[email protected]>2018-11-08 15:05:27 -0600
committerGuenter Roeck <[email protected]>2018-12-16 15:13:09 -0800
commitc10e753d43ebd1d17e1c62bcee20c6124c2c7cca (patch)
tree2aadb1d0e38e86b937483bee2f8921f6535c9caf /tools/perf/scripts/python
parentaa195fe49b033db545ad986cdb2c431c37bea557 (diff)
hwmon (occ): Add sensor types and versions
Add structures to define all sensor types and versions. Add sysfs show and store functions for each sensor type. Add a method to construct the "set user power cap" command and send it to the OCC. Add rate limit to polling the OCC (in case user-space reads our hwmon entries rapidly). Signed-off-by: Eddie James <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions