]> git.ipfire.org Git - thirdparty/linux.git/blame - samples/bpf/test_overhead_raw_tp_kern.c
Merge tag 'pstore-v5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[thirdparty/linux.git] / samples / bpf / test_overhead_raw_tp_kern.c
CommitLineData
4662a4e5
AS
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2018 Facebook */
3#include <uapi/linux/bpf.h>
7cf245a3 4#include <bpf/bpf_helpers.h>
4662a4e5
AS
5
6SEC("raw_tracepoint/task_rename")
7int prog(struct bpf_raw_tracepoint_args *ctx)
8{
9 return 0;
10}
11
12SEC("raw_tracepoint/urandom_read")
13int prog2(struct bpf_raw_tracepoint_args *ctx)
14{
15 return 0;
16}
17char _license[] SEC("license") = "GPL";