Commit | Line | Data |
---|---|---|
5fee13fd MD |
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> | |
5fee13fd | 6 | |
e709527c MJ |
7 | diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h |
8 | index e00f41aa8ec4..13f51fa7c3f3 100644 | |
9 | --- a/include/asm-generic/vmlinux.lds.h | |
10 | +++ b/include/asm-generic/vmlinux.lds.h | |
11 | @@ -318,6 +318,7 @@ | |
12 | __end_once = .; \ | |
5fee13fd MD |
13 | STRUCT_ALIGN(); \ |
14 | *(__tracepoints) \ | |
15 | + TRACE_SYSCALLS() \ | |
16 | /* implement dynamic printk debug */ \ | |
e709527c MJ |
17 | . = ALIGN(8); \ |
18 | __start___verbose = .; \ | |
19 | @@ -650,7 +651,6 @@ | |
5fee13fd | 20 | MCOUNT_REC() \ |
e709527c | 21 | *(.init.rodata .init.rodata.*) \ |
5fee13fd MD |
22 | FTRACE_EVENTS() \ |
23 | - TRACE_SYSCALLS() \ | |
e709527c MJ |
24 | KPROBE_BLACKLIST() \ |
25 | ERROR_INJECT_WHITELIST() \ | |
5fee13fd | 26 | MEM_DISCARD(init.rodata) \ |