summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/struct_ops_detach.c
blob: 56b787a8987610ffe776238801937890244f6184 (plain)
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */
#include <vmlinux.h>
#include <bpf/bpf_helpers.h>
#include "../bpf_testmod/bpf_testmod.h"

char _license[] SEC("license") = "GPL";

SEC(".struct_ops.link")
struct bpf_testmod_ops testmod_do_detach;