xref: /linux/samples/bpf/test_overhead_raw_tp.bpf.c (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018 Facebook */
3 #include "vmlinux.h"
4 #include <bpf/bpf_helpers.h>
5 
6 SEC("raw_tracepoint/task_rename")
prog(struct bpf_raw_tracepoint_args * ctx)7 int prog(struct bpf_raw_tracepoint_args *ctx)
8 {
9 	return 0;
10 }
11 
12 SEC("raw_tracepoint/fib_table_lookup")
prog2(struct bpf_raw_tracepoint_args * ctx)13 int prog2(struct bpf_raw_tracepoint_args *ctx)
14 {
15 	return 0;
16 }
17 char _license[] SEC("license") = "GPL";
18