6ba8e6686dd82e161f201a762f4ec0f20018e421
[lttng-modules.git] / instrumentation / syscalls / lttng-syscalls-extractor / linux-link-trace-syscalls-as-data.patch
1 Linux: link syscalls metadata as data (for LTTng syscall extraction)
2
3 * NOT for mainline *
4
5 Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 ---
7 include/asm-generic/vmlinux.lds.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 Index: linux-2.6-lttng/include/asm-generic/vmlinux.lds.h
11 ===================================================================
12 --- linux-2.6-lttng.orig/include/asm-generic/vmlinux.lds.h
13 +++ linux-2.6-lttng/include/asm-generic/vmlinux.lds.h
14 @@ -169,6 +169,7 @@
15 MEM_KEEP(exit.data) \
16 STRUCT_ALIGN(); \
17 *(__tracepoints) \
18 + TRACE_SYSCALLS() \
19 /* implement dynamic printk debug */ \
20 . = ALIGN(8); \
21 VMLINUX_SYMBOL(__start___jump_table) = .; \
22 @@ -489,7 +490,6 @@
23 *(.init.rodata) \
24 MCOUNT_REC() \
25 FTRACE_EVENTS() \
26 - TRACE_SYSCALLS() \
27 DEV_DISCARD(init.rodata) \
28 CPU_DISCARD(init.rodata) \
29 MEM_DISCARD(init.rodata) \
This page took 0.029205 seconds and 3 git commands to generate.