Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
[sfrench/cifs-2.6.git] / include / asm-generic / vmlinux.lds.h
index 58b1dab0cf59cc48ccad28441adb3c2fcd6dbcb4..278841c75b97b0f55431e75c3a172a041f43f94b 100644 (file)
 #define TRACE_SYSCALLS()
 #endif
 
+#ifdef CONFIG_BPF_EVENTS
+#define BPF_RAW_TP() STRUCT_ALIGN();                                   \
+                        VMLINUX_SYMBOL(__start__bpf_raw_tp) = .;       \
+                        KEEP(*(__bpf_raw_tp_map))                      \
+                        VMLINUX_SYMBOL(__stop__bpf_raw_tp) = .;
+#else
+#define BPF_RAW_TP()
+#endif
+
 #ifdef CONFIG_SERIAL_EARLYCON
 #define EARLYCON_TABLE() STRUCT_ALIGN();                       \
                         VMLINUX_SYMBOL(__earlycon_table) = .;  \
        LIKELY_PROFILE()                                                \
        BRANCH_PROFILE()                                                \
        TRACE_PRINTKS()                                                 \
+       BPF_RAW_TP()                                                    \
        TRACEPOINT_STR()
 
 /*