diff options
author | Robert Richter <robert.richter@amd.com> | 2010-05-05 17:47:17 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2010-05-06 15:11:15 +0200 |
commit | bae663bc635e2726c7c5228dbf0f2051e16d1c81 (patch) | |
tree | 4330eb087e99c223d7d60d806d9fcf786482686b /tools/perf/builtin-list.c | |
parent | 3de668ee8d5b1e08da3200f926ff5a28aeb99bc2 (diff) | |
download | linux-3.10-bae663bc635e2726c7c5228dbf0f2051e16d1c81.tar.gz linux-3.10-bae663bc635e2726c7c5228dbf0f2051e16d1c81.tar.bz2 linux-3.10-bae663bc635e2726c7c5228dbf0f2051e16d1c81.zip |
oprofile/x86: make AMD IBS hotplug capable
Current IBS code is not hotplug capable. An offline cpu might not be
initialized or deinitialized properly. This patch fixes this by
removing on_each_cpu() functions. The IBS init/deinit code is executed
in the per-cpu functions model->setup_ctrs() and model->cpu_down()
which are also called by hotplug notifiers. model->cpu_down() replaces
model->exit() that became obsolete.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'tools/perf/builtin-list.c')
0 files changed, 0 insertions, 0 deletions