Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276381
b: refs/heads/master
c: 1d5f003
h: refs/heads/master
i:
  276379: fe089a2
v: v3
  • Loading branch information
Gleb Natapov authored and Ingo Molnar committed Nov 14, 2011
1 parent 4b93181 commit 3f27548
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 57d1c0c03c6b48b2b96870d831b9ce6b917f53ac
refs/heads/master: 1d5f003f5a964711853514b04ddc872eec0fdc7b
3 changes: 2 additions & 1 deletion trunk/kernel/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2173,7 +2173,8 @@ static void perf_event_context_sched_in(struct perf_event_context *ctx,

perf_event_sched_in(cpuctx, ctx, task);

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

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

0 comments on commit 3f27548

Please sign in to comment.