aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-22 12:22:57 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-23 09:36:07 +0200
commitc528adefd645f5cd16fff658c863e2142d775c61 (patch)
treedd19db9582d0ad60cecbe56b7f9a28878eacd8fb /tools/perf/scripts/python/export-to-postgresql.py
parentpowercap: Invoke powercap_init() and rapl_init() earlier (diff)
downloadwireguard-linux-c528adefd645f5cd16fff658c863e2142d775c61.tar.xz
wireguard-linux-c528adefd645f5cd16fff658c863e2142d775c61.zip
int340X/processor_thermal_device: Fix proc_thermal_rapl_remove()
Passing 0 to cpuhp_remove_state() triggers the BUG_ON() in __cpuhp_remove_state_cpuslocked() and the argument passed to powercap_unregister_control_type() is expected to be a valid pointer, so avoid calling these functions with incorrect arguments from proc_thermal_rapl_remove(). Fixes: 555c45fe0d04 ("int340X/processor_thermal_device: add support for MMIO RAPL") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions