1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */
4 #include <bpf/bpf_helpers.h>
5 #include <bpf/bpf_tracing.h>
6 #include "../test_kmods/bpf_testmod.h"
8 char _license[] SEC("license") = "GPL";
11 SEC("struct_ops/tramp_" #x) \
12 int BPF_PROG(tramp_ ## x, int a) \
58 #define F_TRAMP(x) .tramp_ ## x = (void *)tramp_ ## x
60 SEC(".struct_ops.link")
61 struct bpf_testmod_ops multi_pages = {