1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2023 Red Hat, Inc. */
3#include <linux/bpf.h>
4#include <bpf/bpf_helpers.h>
5#include <bpf/bpf_tracing.h>
6
7char _license[] SEC("license") = "GPL";
8
9/* Dummy fentry bpf prog for testing fentry attachment chains */
10SEC("fentry/XXX")
11int BPF_PROG(recursive_attach, int a)
12{
13	return 0;
14}
15