1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2020 Facebook */
5 #include <bpf/bpf_helpers.h>
8 __attribute__ ((noinline))
9 int f1(struct __sk_buff *skb)
14 __attribute__ ((noinline))
15 int f2(int val, struct __sk_buff *skb)
20 __attribute__ ((noinline))
21 int f3(int val, struct __sk_buff *skb, int var)
23 return f2(var, skb) + val;
26 __attribute__ ((noinline))
27 int f4(struct __sk_buff *skb)
32 __attribute__ ((noinline))
33 int f5(struct __sk_buff *skb)
38 __attribute__ ((noinline))
39 int f6(struct __sk_buff *skb)
44 __attribute__ ((noinline))
45 int f7(struct __sk_buff *skb)
52 int global_func4(struct __sk_buff *skb)