Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361556
b: refs/heads/master
c: d610d98
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Ingo Molnar committed Mar 18, 2013
1 parent 1537af3 commit 06033d6
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 778141e3cf0bf29f91cd3cb5c314ea477b9402a7
refs/heads/master: d610d98b5de6860feb21539726e9af7c9094151c
7 changes: 5 additions & 2 deletions trunk/kernel/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4434,12 +4434,15 @@ static void perf_event_task_event(struct perf_task_event *task_event)
if (ctxn < 0)
goto next;
ctx = rcu_dereference(current->perf_event_ctxp[ctxn]);
if (ctx)
perf_event_task_ctx(ctx, task_event);
}
if (ctx)
perf_event_task_ctx(ctx, task_event);
next:
put_cpu_ptr(pmu->pmu_cpu_context);
}
if (task_event->task_ctx)
perf_event_task_ctx(task_event->task_ctx, task_event);

rcu_read_unlock();
}

Expand Down

0 comments on commit 06033d6

Please sign in to comment.