diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-12-20 14:32:03 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-20 14:32:11 -0500 |
commit | d87f69a16eb2cb96459117b06949a560679002e4 (patch) | |
tree | bbb55b2bd2b6c9e8bd4067aa3279783cb6bd9028 /kernel/events | |
parent | 124ba9403318d834ef21bcd899c22c870708d2c4 (diff) | |
parent | 384703b8e6cd4c8ef08512e596024e028c91c339 (diff) |
Merge commit 'v3.2-rc6' into perf/core
Merge reason: Update with the latest fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index 3a3b1a18f49..2f8f3f103cb 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c | |||
@@ -2179,11 +2179,11 @@ static void perf_event_context_sched_in(struct perf_event_context *ctx, | |||
2179 | */ | 2179 | */ |
2180 | cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE); | 2180 | cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE); |
2181 | 2181 | ||
2182 | perf_event_sched_in(cpuctx, ctx, task); | ||
2183 | |||
2184 | if (ctx->nr_events) | 2182 | if (ctx->nr_events) |
2185 | cpuctx->task_ctx = ctx; | 2183 | cpuctx->task_ctx = ctx; |
2186 | 2184 | ||
2185 | perf_event_sched_in(cpuctx, cpuctx->task_ctx, task); | ||
2186 | |||
2187 | perf_pmu_enable(ctx->pmu); | 2187 | perf_pmu_enable(ctx->pmu); |
2188 | perf_ctx_unlock(cpuctx, ctx); | 2188 | perf_ctx_unlock(cpuctx, ctx); |
2189 | 2189 | ||