JustOS/linux-6.13/tools/testing/selftests/bpf/progs/fentry_recursive.c
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

15 lines
334 B
C

// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2023 Red Hat, Inc. */
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>
char _license[] SEC("license") = "GPL";
/* Dummy fentry bpf prog for testing fentry attachment chains */
SEC("fentry/XXX")
int BPF_PROG(recursive_attach, int a)
{
return 0;
}