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 /include/asm-generic | |
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 'include/asm-generic')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 146e4fffd710..8e0204a68c74 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -109,6 +109,15 @@ | |||
109 | #define BRANCH_PROFILE() | 109 | #define BRANCH_PROFILE() |
110 | #endif | 110 | #endif |
111 | 111 | ||
112 | #ifdef CONFIG_KPROBES | ||
113 | #define KPROBE_BLACKLIST() . = ALIGN(8); \ | ||
114 | VMLINUX_SYMBOL(__start_kprobe_blacklist) = .; \ | ||
115 | *(_kprobe_blacklist) \ | ||
116 | VMLINUX_SYMBOL(__stop_kprobe_blacklist) = .; | ||
117 | #else | ||
118 | #define KPROBE_BLACKLIST() | ||
119 | #endif | ||
120 | |||
112 | #ifdef CONFIG_EVENT_TRACING | 121 | #ifdef CONFIG_EVENT_TRACING |
113 | #define FTRACE_EVENTS() . = ALIGN(8); \ | 122 | #define FTRACE_EVENTS() . = ALIGN(8); \ |
114 | VMLINUX_SYMBOL(__start_ftrace_events) = .; \ | 123 | VMLINUX_SYMBOL(__start_ftrace_events) = .; \ |
@@ -507,6 +516,7 @@ | |||
507 | *(.init.rodata) \ | 516 | *(.init.rodata) \ |
508 | FTRACE_EVENTS() \ | 517 | FTRACE_EVENTS() \ |
509 | TRACE_SYSCALLS() \ | 518 | TRACE_SYSCALLS() \ |
519 | KPROBE_BLACKLIST() \ | ||
510 | MEM_DISCARD(init.rodata) \ | 520 | MEM_DISCARD(init.rodata) \ |
511 | CLK_OF_TABLES() \ | 521 | CLK_OF_TABLES() \ |
512 | RESERVEDMEM_OF_TABLES() \ | 522 | RESERVEDMEM_OF_TABLES() \ |