diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-01-29 03:24:57 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-29 04:36:22 -0500 |
commit | ae7f6711d6231c9ba54feb5ba9856c3775e482f8 (patch) | |
tree | 89070c82204b2503348e4fd6c51d25a169375545 /kernel/perf_event.c | |
parent | 64abebf731df87e6f4ae7d9ffc340bdf0c033e44 (diff) | |
parent | b23ff0e9330e4b11e18af984d50573598e10e7f9 (diff) |
Merge branch 'perf/urgent' into perf/core
Merge reason: We want to queue up a dependent patch. Also update to
later -rc's.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 53dc2a36211..40f8b07c560 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -3408,6 +3408,9 @@ static void perf_event_task_output(struct perf_event *event, | |||
3408 | 3408 | ||
3409 | static int perf_event_task_match(struct perf_event *event) | 3409 | static int perf_event_task_match(struct perf_event *event) |
3410 | { | 3410 | { |
3411 | if (event->state != PERF_EVENT_STATE_ACTIVE) | ||
3412 | return 0; | ||
3413 | |||
3411 | if (event->cpu != -1 && event->cpu != smp_processor_id()) | 3414 | if (event->cpu != -1 && event->cpu != smp_processor_id()) |
3412 | return 0; | 3415 | return 0; |
3413 | 3416 | ||
@@ -3517,6 +3520,9 @@ static void perf_event_comm_output(struct perf_event *event, | |||
3517 | 3520 | ||
3518 | static int perf_event_comm_match(struct perf_event *event) | 3521 | static int perf_event_comm_match(struct perf_event *event) |
3519 | { | 3522 | { |
3523 | if (event->state != PERF_EVENT_STATE_ACTIVE) | ||
3524 | return 0; | ||
3525 | |||
3520 | if (event->cpu != -1 && event->cpu != smp_processor_id()) | 3526 | if (event->cpu != -1 && event->cpu != smp_processor_id()) |
3521 | return 0; | 3527 | return 0; |
3522 | 3528 | ||
@@ -3634,6 +3640,9 @@ static void perf_event_mmap_output(struct perf_event *event, | |||
3634 | static int perf_event_mmap_match(struct perf_event *event, | 3640 | static int perf_event_mmap_match(struct perf_event *event, |
3635 | struct perf_mmap_event *mmap_event) | 3641 | struct perf_mmap_event *mmap_event) |
3636 | { | 3642 | { |
3643 | if (event->state != PERF_EVENT_STATE_ACTIVE) | ||
3644 | return 0; | ||
3645 | |||
3637 | if (event->cpu != -1 && event->cpu != smp_processor_id()) | 3646 | if (event->cpu != -1 && event->cpu != smp_processor_id()) |
3638 | return 0; | 3647 | return 0; |
3639 | 3648 | ||