aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-11-22 17:57:06 +0000
committerZhang Rui <rui.zhang@intel.com>2016-11-30 10:24:53 +0800
commit09a674cd695f93bbbd09f24b5e13127c5907ef0c (patch)
tree4e56fb72ed3cfe805b851fc98f2e07a3da0e9b08 /tools/perf/util/c++/clang.cpp
parent21a3d3d4c8f373054421443e244c75a94a40b1ae (diff)
thermal/x86_pkg_temp: Sanitize callback (de)initialization
The threshold callbacks are installed before the initialization of the online cpus has succeeded and removed after the teardown has been done. That's both wrong as callbacks might be invoked into a half initialized or torn down state. Move them to the proper places: Last in init() and first in exit(). While at it shorten the insane long and horrible named function names. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions