1 // SPDX-License-Identifier: GPL-2.0
3 #include <bpf/bpf_helpers.h>
4 #include <bpf/bpf_tracing.h>
9 int handler(struct bpf_perf_event_data *data)
11 /* Skip events that have the correct ip. */
12 return ip != PT_REGS_IP(&data->regs);
15 char _license[] SEC("license") = "GPL";