aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-09-10 10:31:24 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-10 10:31:24 -0400
commitf2955b490b249ca56e465fd32cc355f84aedf8bd (patch)
tree401faf98c61f4a0a65703644277521a10da98eec /kernel/perf_event.c
parent3d96406c7da1ed5811ea52a3b0905f4f0e295376 (diff)
parent9efdda310cb26bdc28429cb831c3ec5fa270feb7 (diff)
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: tracing: t_start: reset FTRACE_ITER_HASH in case of seek/pread perf symbols: Fix multiple initialization of symbol system perf: Fix CPU hotplug perf, trace: Fix module leak tracing/kprobe: Fix handling of C-unlike argument names tracing/kprobes: Fix handling of argument names perf probe: Fix handling of arguments names perf probe: Fix return probe support tracing/kprobe: Fix a memory leak in error case tracing: Do not allow llseek to set_ftrace_filter
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 657555a5f30f..db5b56064687 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -5761,15 +5761,15 @@ perf_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu)
5761{ 5761{
5762 unsigned int cpu = (long)hcpu; 5762 unsigned int cpu = (long)hcpu;
5763 5763
5764 switch (action) { 5764 switch (action & ~CPU_TASKS_FROZEN) {
5765 5765
5766 case CPU_UP_PREPARE: 5766 case CPU_UP_PREPARE:
5767 case CPU_UP_PREPARE_FROZEN: 5767 case CPU_DOWN_FAILED:
5768 perf_event_init_cpu(cpu); 5768 perf_event_init_cpu(cpu);
5769 break; 5769 break;
5770 5770
5771 case CPU_UP_CANCELED:
5771 case CPU_DOWN_PREPARE: 5772 case CPU_DOWN_PREPARE:
5772 case CPU_DOWN_PREPARE_FROZEN:
5773 perf_event_exit_cpu(cpu); 5773 perf_event_exit_cpu(cpu);
5774 break; 5774 break;
5775 5775