brintos

brintos / linux-shallow public Read only

0
0
Text · 273 B · 0d7f1a7 Raw
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