Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276551
b: refs/heads/master
c: 86b47c2
h: refs/heads/master
i:
  276549: ae69008
  276547: bc3bf38
  276543: c946ee4
v: v3
  • Loading branch information
Gleb Natapov authored and Ingo Molnar committed Dec 7, 2011
1 parent 0216f2b commit 08dd158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a33caeb118198286309859f014c0662f3ed54ed4
refs/heads/master: 86b47c25494b824da655b95f6fdb4fdb3f17aa77
4 changes: 2 additions & 2 deletions trunk/kernel/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2174,11 +2174,11 @@ static void perf_event_context_sched_in(struct perf_event_context *ctx,
*/
cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE);

perf_event_sched_in(cpuctx, ctx, task);

if (ctx->nr_events)
cpuctx->task_ctx = ctx;

perf_event_sched_in(cpuctx, cpuctx->task_ctx, task);

perf_pmu_enable(ctx->pmu);
perf_ctx_unlock(cpuctx, ctx);

Expand Down

0 comments on commit 08dd158

Please sign in to comment.