Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169721
b: refs/heads/master
c: 3dbebf1
h: refs/heads/master
i:
  169719: 655bc99
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 21, 2009
1 parent fd0f4e2 commit 327b65d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f6f83785222b0ee037f7be90731f62a649292b5e
refs/heads/master: 3dbebf15c5d3e265f751eec72c1538a00da4be27
6 changes: 2 additions & 4 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,6 @@ static int context_equiv(struct perf_event_context *ctx1,
&& !ctx1->pin_count && !ctx2->pin_count;
}

static void __perf_event_read(void *event);

static void __perf_event_sync_stat(struct perf_event *event,
struct perf_event *next_event)
{
Expand All @@ -1080,8 +1078,8 @@ static void __perf_event_sync_stat(struct perf_event *event,
*/
switch (event->state) {
case PERF_EVENT_STATE_ACTIVE:
__perf_event_read(event);
break;
event->pmu->read(event);
/* fall-through */

case PERF_EVENT_STATE_INACTIVE:
update_event_times(event);
Expand Down

0 comments on commit 327b65d

Please sign in to comment.