1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2019 Facebook
3 #include <linux/sched.h>
4 #include <linux/ptrace.h>
9 #include <bpf/bpf_helpers.h>
10 #include <bpf/bpf_tracing.h>
12 char _license[] SEC("license") = "GPL";
14 SEC("raw_tracepoint/kfree_skb")
15 int nested_loops(volatile struct pt_regs* ctx)
19 for (j = 0; j < 300; j++)
20 for (i = 0; i < j; i++) {