1 // SPDX-License-Identifier: GPL-2.0 2 3 #include <vmlinux.h> 4 #include <bpf/bpf_helpers.h> 5 #include "bpf_misc.h" 6 7 SEC("fentry/bpf_fentry_test1") 8 __success __retval(0) 9 __arch_x86_64 10 __jited(" addq %gs:{{.*}}, %rax") 11 __arch_arm64 12 __jited(" mrs x7, SP_EL0") 13 int inline_bpf_get_current_task(void) 14 { 15 bpf_get_current_task(); 16 17 return 0; 18 } 19 20 char _license[] SEC("license") = "GPL"; 21