mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
At the moment, all kernel bpf objects are listed under BPF_OBJ_FILES. Listing them manually sometimes causing patch conflict when people are adding new testcases simultaneously. It is better to centre all the related source files under a subdir "progs", then auto-generate the object file list. Suggested-by: Alexei Starovoitov <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
8 lines
157 B
C
8 lines
157 B
C
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
|
|
|
|
/* Sample program which should always load for testing control paths. */
|
|
int func()
|
|
{
|
|
return 0;
|
|
}
|