summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNaveen Krishna Chatradhi <nchatrad@amd.com>2020-09-29 13:53:21 +0300
committerGuenter Roeck <linux@roeck-us.net>2020-10-04 18:40:08 +0300
commitb75394c19d0127ee8aab03c5eff7efb253de4199 (patch)
treeff4019c337ed6ee00a0eea33f3dc4de069149fc1 /tools/perf/scripts/python/export-to-sqlite.py
parent514db2b445df79e0a2f040842969cf58088a3886 (diff)
downloadlinux-b75394c19d0127ee8aab03c5eff7efb253de4199.tar.xz
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 <nchatrad@amd.com> Link: https://lore.kernel.org/r/20200929105322.8919-4-nchatrad@amd.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions