diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-06-05 05:18:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-06-05 06:26:50 -0400 |
commit | 10b0256496fd6c162478547f7c6df1e052e87644 (patch) | |
tree | 7037905737ae83a86a5cdb376cd1d66f7f407e2e /arch/x86/kernel/cpu/perf_event.c | |
parent | c56d34064b6eb9f9cde9e35bbfe16eedf3d81f94 (diff) | |
parent | 69902c718c0b476e94ed7fccd3cf29ca39fe433a (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.c | 3 |
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 | ||
1296 | static int __kprobes | 1296 | static int |
1297 | perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs) | 1297 | perf_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 | } |
1314 | NOKPROBE_SYMBOL(perf_event_nmi_handler); | ||
1314 | 1315 | ||
1315 | struct event_constraint emptyconstraint; | 1316 | struct event_constraint emptyconstraint; |
1316 | struct event_constraint unconstrained; | 1317 | struct event_constraint unconstrained; |