public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] events: Add note to update_event_times comment about holding ctx->lock
@ 2011-06-23 20:34 Eric B Munson
  2011-06-23 20:34 ` [PATCH 2/3] events: Move lockless timer calculation into helper function Eric B Munson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Eric B Munson @ 2011-06-23 20:34 UTC (permalink / raw)
  To: mingo
  Cc: a.p.zijlstra, borislav.petkov, bblum, linux-kernel, mhack,
	eranian, Eric B Munson

Signed-off-by: Eric B Munson <emunson@mgebm.net>
---
 kernel/events/core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/events/core.c b/kernel/events/core.c
index 9efe710..a054964 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -731,6 +731,7 @@ static u64 perf_event_time(struct perf_event *event)
 
 /*
  * Update the total_time_enabled and total_time_running fields for a event.
+ * The caller of this function needs to hold the ctx->lock.
  */
 static void update_event_times(struct perf_event *event)
 {
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-01 15:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 20:34 [PATCH 1/3] events: Add note to update_event_times comment about holding ctx->lock Eric B Munson
2011-06-23 20:34 ` [PATCH 2/3] events: Move lockless timer calculation into helper function Eric B Munson
2011-07-01 15:20   ` [tip:perf/core] " tip-bot for Eric B Munson
2011-06-23 20:34 ` [PATCH 3/3] events: Ensure that timers are updated without requiring read() call Eric B Munson
2011-06-24  9:44   ` Peter Zijlstra
2011-06-24  9:46     ` Peter Zijlstra
2011-06-24 12:44     ` Eric B Munson
2011-06-24 12:49     ` Eric B Munson
2011-06-27  9:34       ` Peter Zijlstra
2011-07-01 15:19 ` [tip:perf/core] events: Add note to update_event_times comment about holding ctx->lock tip-bot for Eric B Munson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox