aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-06-05 05:18:34 -0400
committerIngo Molnar <mingo@kernel.org>2014-06-05 06:26:50 -0400
commit10b0256496fd6c162478547f7c6df1e052e87644 (patch)
tree7037905737ae83a86a5cdb376cd1d66f7f407e2e /arch/x86/kernel/cpu/perf_event.c
parentc56d34064b6eb9f9cde9e35bbfe16eedf3d81f94 (diff)
parent69902c718c0b476e94ed7fccd3cf29ca39fe433a (diff)
Merge branch 'perf/kprobes' into perf/core
Conflicts: arch/x86/kernel/traps.c The kprobes enhancements are fully cooked, ship them upstream. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
-rw-r--r--arch/x86/kernel/cpu/perf_event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index 89f3b7c1af20..32029e35f2b9 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -1293,7 +1293,7 @@ void perf_events_lapic_init(void)
1293 apic_write(APIC_LVTPC, APIC_DM_NMI); 1293 apic_write(APIC_LVTPC, APIC_DM_NMI);
1294} 1294}
1295 1295
1296static int __kprobes 1296static int
1297perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs) 1297perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs)
1298{ 1298{
1299 u64 start_clock; 1299 u64 start_clock;
@@ -1311,6 +1311,7 @@ perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs)
1311 1311
1312 return ret; 1312 return ret;
1313} 1313}
1314NOKPROBE_SYMBOL(perf_event_nmi_handler);
1314 1315
1315struct event_constraint emptyconstraint; 1316struct event_constraint emptyconstraint;
1316struct event_constraint unconstrained; 1317struct event_constraint unconstrained;