xref: /linux/tools/testing/selftests/bpf/progs/struct_ops_detach.c (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */
3 #include <vmlinux.h>
4 #include <bpf/bpf_helpers.h>
5 #include "../bpf_testmod/bpf_testmod.h"
6 
7 char _license[] SEC("license") = "GPL";
8 
9 SEC(".struct_ops.link")
10 struct bpf_testmod_ops testmod_do_detach;
11