1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2026 Meta Platforms, Inc. and affiliates. */ 3 4 #ifndef __BPF_DIAGNOSTICS_H 5 #define __BPF_DIAGNOSTICS_H 6 7 #include <linux/compiler_attributes.h> 8 #include <linux/types.h> 9 10 struct bpf_verifier_env; 11 12 bool bpf_diag_enabled(const struct bpf_verifier_env *env); 13 14 #endif /* __BPF_DIAGNOSTICS_H */ 15