mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
18 lines
273 B
C
18 lines
273 B
C
![]() |
// SPDX-License-Identifier: GPL-2.0
|
||
|
#include "vmlinux.h"
|
||
|
#include <bpf/bpf_helpers.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
struct pt_regs regs;
|
||
|
|
||
|
char _license[] SEC("license") = "GPL";
|
||
|
|
||
|
int executed = 0;
|
||
|
|
||
|
SEC("uretprobe.multi")
|
||
|
int test(struct pt_regs *regs)
|
||
|
{
|
||
|
executed = 1;
|
||
|
return 0;
|
||
|
}
|