18 lines · c
1// SPDX-License-Identifier: GPL-2.02#include "vmlinux.h"3#include <bpf/bpf_helpers.h>4#include <string.h>5 6struct pt_regs regs;7 8char _license[] SEC("license") = "GPL";9 10int executed = 0;11 12SEC("uretprobe.multi")13int test(struct pt_regs *regs)14{15 executed = 1;16 return 0;17}18