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