brintos

brintos / linux-shallow public Read only

0
0
Text · 381 B · 64a95f6 Raw
15 lines · c
1// SPDX-License-Identifier: GPL-2.02 3#include <linux/bpf.h>4#include <bpf/bpf_helpers.h>5 6char _license[] SEC("license") = "GPL";7 8/* This is an unused struct_ops program, it lacks corresponding9 * struct_ops map, which provides attachment information.10 * W/o additional configuration attempt to load such11 * BPF object file would fail.12 */13SEC("struct_ops/foo")14void foo(void) {}15