diff options
author | Naveen Krishna Chatradhi <[email protected]> | 2020-09-29 16:23:21 +0530 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2020-10-04 08:40:08 -0700 |
commit | b75394c19d0127ee8aab03c5eff7efb253de4199 (patch) | |
tree | ff4019c337ed6ee00a0eea33f3dc4de069149fc1 /tools/perf/scripts/python/sctop.py | |
parent | 514db2b445df79e0a2f040842969cf58088a3886 (diff) |
hwmon: (amd_energy) Improve the accumulation logic
Factor out the common code in the accumulation functions for core and
socket accumulation.
While at it, handle the return value of the amd_create_sensor() function.
Signed-off-by: Naveen Krishna Chatradhi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions