diff options
| author | Yonghong Song <[email protected]> | 2022-01-27 15:46:11 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-01-27 20:03:46 +0000 |
| commit | 571d01a9d06f984ce51bd7625036e67f7f1f886c (patch) | |
| tree | 86ff9f6b0d34d748bb5a805a4dbe6333c534c341 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | bpf: reject program if a __user tagged memory accessed in kernel way (diff) | |
| download | kernel-571d01a9d06f984ce51bd7625036e67f7f1f886c.tar.gz kernel-571d01a9d06f984ce51bd7625036e67f7f1f886c.zip | |
selftests/bpf: rename btf_decl_tag.c to test_btf_decl_tag.c
The uapi btf.h contains the following declaration:
struct btf_decl_tag {
__s32 component_idx;
};
The skeleton will also generate a struct with name
"btf_decl_tag" for bpf program btf_decl_tag.c.
Rename btf_decl_tag.c to test_btf_decl_tag.c so
the corresponding skeleton struct name becomes
"test_btf_decl_tag". This way, we could include
uapi btf.h in prog_tests/btf_tag.c.
There is no functionality change for this patch.
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
