Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169722
b: refs/heads/master
c: 58e5ad1
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 21, 2009
1 parent 327b65d commit 9d3eea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 3dbebf15c5d3e265f751eec72c1538a00da4be27
refs/heads/master: 58e5ad1de3d6ad931c84f0cc8ef0655c922f30ad
5 changes: 2 additions & 3 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,10 +1526,9 @@ static void __perf_event_read(void *info)
if (ctx->task && cpuctx->task_ctx != ctx)
return;

if (ctx->is_active)
update_context_time(ctx);
event->pmu->read(event);
update_context_time(ctx);
update_event_times(event);
event->pmu->read(event);
}

static u64 perf_event_read(struct perf_event *event)
Expand Down

0 comments on commit 9d3eea5

Please sign in to comment.