Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147512
b: refs/heads/master
c: 329d876
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed May 26, 2009
1 parent f0fc9db commit 8138b29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aaba98018b8295dfa2119345d17f833d74448cd0
refs/heads/master: 329d876d6fd326109f191ae0fb2798b8834fb70b
2 changes: 2 additions & 0 deletions trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -3122,6 +3122,8 @@ perf_counter_alloc(struct perf_counter_hw_event *hw_event,
counter->group_leader = group_leader;
counter->pmu = NULL;
counter->ctx = ctx;
counter->oncpu = -1;

get_ctx(ctx);

counter->state = PERF_COUNTER_STATE_INACTIVE;
Expand Down

0 comments on commit 8138b29

Please sign in to comment.