1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2019 Facebook */
6 #include <bpf/bpf_helpers.h>
11 } __attribute__((packed
));
16 long long in4
__attribute__((aligned(64))) = 0;
24 extern bool CONFIG_BPF_SYSCALL __kconfig
;
25 extern int LINUX_KERNEL_VERSION __kconfig
;
29 SEC("raw_tp/sys_enter")
30 int handler(const void *ctx
)
32 static volatile struct s out5
;
40 bpf_syscall
= CONFIG_BPF_SYSCALL
;
41 kern_ver
= LINUX_KERNEL_VERSION
;
46 char _license
[] SEC("license") = "GPL";