diff options
| author | Jiong Wang <[email protected]> | 2019-02-11 12:01:20 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-02-12 04:31:38 +0000 |
| commit | bd4aed0ee73ca873bef3cb3ec746dd796f03df28 (patch) | |
| tree | 1dcd4de735f8ca3dbf672dc5d48d064ea1dea5dc /tools/testing/selftests/bpf/progs/test_queue_map.c | |
| parent | selftests: bpf: extend sub-register mode compilation to all bpf object files (diff) | |
| download | kernel-bd4aed0ee73ca873bef3cb3ec746dd796f03df28.tar.gz kernel-bd4aed0ee73ca873bef3cb3ec746dd796f03df28.zip | |
selftests: bpf: centre kernel bpf objects under new subdir "progs"
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]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_queue_map.c')
| -rw-r--r-- | tools/testing/selftests/bpf/progs/test_queue_map.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_queue_map.c b/tools/testing/selftests/bpf/progs/test_queue_map.c new file mode 100644 index 000000000000..87db1f9da33d --- /dev/null +++ b/tools/testing/selftests/bpf/progs/test_queue_map.c @@ -0,0 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Politecnico di Torino +#define MAP_TYPE BPF_MAP_TYPE_QUEUE +#include "test_queue_stack_map.h" |
