projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28009ce
)
events: Add note to update_event_times comment about holding ctx->lock
author
Eric B Munson
<emunson@mgebm.net>
Thu, 23 Jun 2011 20:34:37 +0000
(16:34 -0400)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 1 Jul 2011 09:06:33 +0000
(11:06 +0200)
Signed-off-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/1308861279-15216-1-git-send-email-emunson@mgebm.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/events/core.c
b/kernel/events/core.c
index e4aee519572d6751d65012e46a231abad3d48700..2293e0b084a907fa38689e76057d3f252a918e60 100644
(file)
--- a/
kernel/events/core.c
+++ b/
kernel/events/core.c
@@
-748,6
+748,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)
{