1*6c034d96SEduard Zingerman // SPDX-License-Identifier: GPL-2.0 2*6c034d96SEduard Zingerman /* Copyright (c) 2026 Meta Platforms, Inc. and affiliates. */ 3*6c034d96SEduard Zingerman #include <linux/bpf.h> 4*6c034d96SEduard Zingerman #include <bpf/bpf_helpers.h> 5*6c034d96SEduard Zingerman 6*6c034d96SEduard Zingerman /* 7*6c034d96SEduard Zingerman * Programs below exist only to exercise veristat's -f name filters, 8*6c034d96SEduard Zingerman * their bodies are irrelevant, only the names matter. 9*6c034d96SEduard Zingerman * This file is also included by veristat_bar.c, so that the same set of 10*6c034d96SEduard Zingerman * program names is available in two differently named object files. 11*6c034d96SEduard Zingerman */ 12*6c034d96SEduard Zingerman 13*6c034d96SEduard Zingerman SEC("socket") foo(void * ctx)14*6c034d96SEduard Zingermanint foo(void *ctx) 15*6c034d96SEduard Zingerman { 16*6c034d96SEduard Zingerman return 0; 17*6c034d96SEduard Zingerman } 18*6c034d96SEduard Zingerman 19*6c034d96SEduard Zingerman SEC("socket") bar(void * ctx)20*6c034d96SEduard Zingermanint bar(void *ctx) 21*6c034d96SEduard Zingerman { 22*6c034d96SEduard Zingerman return 0; 23*6c034d96SEduard Zingerman } 24*6c034d96SEduard Zingerman 25*6c034d96SEduard Zingerman SEC("socket") buz(void * ctx)26*6c034d96SEduard Zingermanint buz(void *ctx) 27*6c034d96SEduard Zingerman { 28*6c034d96SEduard Zingerman return 0; 29*6c034d96SEduard Zingerman } 30*6c034d96SEduard Zingerman 31*6c034d96SEduard Zingerman char _license[] SEC("license") = "GPL"; 32