]> Git Repo - J-linux.git/blob - samples/bpf/tracex7.bpf.c
Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[J-linux.git] / samples / bpf / tracex7.bpf.c
1 #include "vmlinux.h"
2 #include <linux/version.h>
3 #include <bpf/bpf_helpers.h>
4
5 SEC("kprobe/open_ctree")
6 int bpf_prog1(struct pt_regs *ctx)
7 {
8         unsigned long rc = -12;
9
10         bpf_override_return(ctx, rc);
11         return 0;
12 }
13
14 char _license[] SEC("license") = "GPL";
15 u32 _version SEC("version") = LINUX_VERSION_CODE;
This page took 0.027388 seconds and 4 git commands to generate.