1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2019 Facebook */
6 #include <bpf/bpf_helpers.h>
11 } __attribute__((packed
));
19 long long in4
__attribute__((aligned(64))) = 0;
23 const volatile struct {
36 extern bool CONFIG_BPF_SYSCALL __kconfig
;
37 extern int LINUX_KERNEL_VERSION __kconfig
;
41 SEC("raw_tp/sys_enter")
42 int handler(const void *ctx
)
44 static volatile struct s out5
;
53 bpf_syscall
= CONFIG_BPF_SYSCALL
;
54 kern_ver
= LINUX_KERNEL_VERSION
;
59 char _license
[] SEC("license") = "GPL";