projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f09fc6
)
perf: Use static variant of perf_event_overflow in core.c
author
Robert Richter
<robert.richter@amd.com>
Thu, 5 Apr 2012 16:24:43 +0000
(18:24 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 26 Apr 2012 11:52:52 +0000
(13:52 +0200)
No need to have an additional function layer.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/1333643084-26776-4-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/events/core.c
b/kernel/events/core.c
index a6a9ec4cd8f583d640ab0da9e4941b19fe8fd990..9789a56b7d54320e2318b0f51c289730bda81e0d 100644
(file)
--- a/
kernel/events/core.c
+++ b/
kernel/events/core.c
@@
-5350,7
+5350,7
@@
static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer)
if (regs && !perf_exclude_event(event, regs)) {
if (!(event->attr.exclude_idle && is_idle_task(current)))
- if (
perf_event_overflow(event
, &data, regs))
+ if (
__perf_event_overflow(event, 1
, &data, regs))
ret = HRTIMER_NORESTART;
}