xref: /linux/tools/testing/selftests/bpf/progs/uprobe_multi_bench.c (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/bpf.h>
3 #include <bpf/bpf_helpers.h>
4 #include <bpf/bpf_tracing.h>
5 
6 char _license[] SEC("license") = "GPL";
7 
8 int count;
9 
10 SEC("uprobe.multi/./uprobe_multi:uprobe_multi_func_*")
11 int uprobe_bench(struct pt_regs *ctx)
12 {
13 	count++;
14 	return 0;
15 }
16