Merge tag 'v6.9-rockchip-dts32-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / samples / bpf / tracex7.bpf.c
CommitLineData
e7e6c774 1#include "vmlinux.h"
965de87e 2#include <linux/version.h>
7cf245a3 3#include <bpf/bpf_helpers.h>
965de87e
JB
4
5SEC("kprobe/open_ctree")
6int bpf_prog1(struct pt_regs *ctx)
7{
8 unsigned long rc = -12;
9
10 bpf_override_return(ctx, rc);
11 return 0;
12}
13
14char _license[] SEC("license") = "GPL";
15u32 _version SEC("version") = LINUX_VERSION_CODE;