[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1308861279-15216-1-git-send-email-emunson@mgebm.net>
Date: Thu, 23 Jun 2011 16:34:37 -0400
From: Eric B Munson <emunson@...bm.net>
To: mingo@...e.hu
Cc: a.p.zijlstra@...llo.nl, borislav.petkov@....com,
bblum@...rew.cmu.edu, linux-kernel@...r.kernel.org,
mhack@...ibm.com, eranian@...gle.com,
Eric B Munson <emunson@...bm.net>
Subject: [PATCH 1/3] events: Add note to update_event_times comment about holding ctx->lock
Signed-off-by: Eric B Munson <emunson@...bm.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists