Searched hist:"2 c2f6abeff1322a61f5ad7ce0ecccabf53e4fad5" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_ksyms_btf.c | 2c2f6abeff1322a61f5ad7ce0ecccabf53e4fad5 Tue Sep 29 18:50:46 CDT 2020 Hao Luo <haoluo@google.com> selftests/bpf: Ksyms_btf to test typed ksyms
Selftests for typed ksyms. Tests two types of ksyms: one is a struct, the other is a plain int. This tests two paths in the kernel. Struct ksyms will be converted into PTR_TO_BTF_ID by the verifier while int typed ksyms will be converted into PTR_TO_MEM.
Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200929235049.2533242-4-haoluo@google.com
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ksyms.c | diff 2c2f6abeff1322a61f5ad7ce0ecccabf53e4fad5 Tue Sep 29 18:50:46 CDT 2020 Hao Luo <haoluo@google.com> selftests/bpf: Ksyms_btf to test typed ksyms
Selftests for typed ksyms. Tests two types of ksyms: one is a struct, the other is a plain int. This tests two paths in the kernel. Struct ksyms will be converted into PTR_TO_BTF_ID by the verifier while int typed ksyms will be converted into PTR_TO_MEM.
Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200929235049.2533242-4-haoluo@google.com
|
H A D | ksyms_btf.c | 2c2f6abeff1322a61f5ad7ce0ecccabf53e4fad5 Tue Sep 29 18:50:46 CDT 2020 Hao Luo <haoluo@google.com> selftests/bpf: Ksyms_btf to test typed ksyms
Selftests for typed ksyms. Tests two types of ksyms: one is a struct, the other is a plain int. This tests two paths in the kernel. Struct ksyms will be converted into PTR_TO_BTF_ID by the verifier while int typed ksyms will be converted into PTR_TO_MEM.
Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200929235049.2533242-4-haoluo@google.com
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | trace_helpers.h | diff 2c2f6abeff1322a61f5ad7ce0ecccabf53e4fad5 Tue Sep 29 18:50:46 CDT 2020 Hao Luo <haoluo@google.com> selftests/bpf: Ksyms_btf to test typed ksyms
Selftests for typed ksyms. Tests two types of ksyms: one is a struct, the other is a plain int. This tests two paths in the kernel. Struct ksyms will be converted into PTR_TO_BTF_ID by the verifier while int typed ksyms will be converted into PTR_TO_MEM.
Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200929235049.2533242-4-haoluo@google.com
|
H A D | trace_helpers.c | diff 2c2f6abeff1322a61f5ad7ce0ecccabf53e4fad5 Tue Sep 29 18:50:46 CDT 2020 Hao Luo <haoluo@google.com> selftests/bpf: Ksyms_btf to test typed ksyms
Selftests for typed ksyms. Tests two types of ksyms: one is a struct, the other is a plain int. This tests two paths in the kernel. Struct ksyms will be converted into PTR_TO_BTF_ID by the verifier while int typed ksyms will be converted into PTR_TO_MEM.
Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200929235049.2533242-4-haoluo@google.com
|