Merge tag 'xfs-5.12-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-2.6-microblaze.git] / samples / bpf / test_overhead_raw_tp_kern.c
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018 Facebook */
3 #include <uapi/linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
5
6 SEC("raw_tracepoint/task_rename")
7 int prog(struct bpf_raw_tracepoint_args *ctx)
8 {
9         return 0;
10 }
11
12 SEC("raw_tracepoint/urandom_read")
13 int prog2(struct bpf_raw_tracepoint_args *ctx)
14 {
15         return 0;
16 }
17 char _license[] SEC("license") = "GPL";