diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-10-20 01:51:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-20 01:51:44 -0400 |
commit | c258449bc9d286e2ee6546c9cdf911e96cbc126a (patch) | |
tree | 51d389391bf6bef4be756652e401823f8171656e /kernel/perf_event.c | |
parent | 79b9ad361be8c6f3eeea97dd3883e8bcfa989333 (diff) | |
parent | 2e600d01c131ee189f55ca1879cd364b9e056df8 (diff) |
Merge branch 'perf/urgent' into perf/core
Merge reason: Queue up dependent patch.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 12b5ec39bf97..9ecaa45ab6b2 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -1356,7 +1356,7 @@ static void perf_ctx_adjust_freq(struct perf_event_context *ctx) | |||
1356 | u64 interrupts, freq; | 1356 | u64 interrupts, freq; |
1357 | 1357 | ||
1358 | spin_lock(&ctx->lock); | 1358 | spin_lock(&ctx->lock); |
1359 | list_for_each_entry(event, &ctx->group_list, group_entry) { | 1359 | list_for_each_entry_rcu(event, &ctx->event_list, event_entry) { |
1360 | if (event->state != PERF_EVENT_STATE_ACTIVE) | 1360 | if (event->state != PERF_EVENT_STATE_ACTIVE) |
1361 | continue; | 1361 | continue; |
1362 | 1362 | ||