<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/bpf/prog_tests/btf_split.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-11-04T21:44:12Z</updated>
<entry>
<title>selftests/bpf: Test parsing of (multi-)split BTF</title>
<updated>2025-11-04T21:44:12Z</updated>
<author>
<name>Alan Maguire</name>
</author>
<published>2025-11-04T20:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc77a203896edbfecb566538e7046b882a971999'/>
<id>urn:sha1:cc77a203896edbfecb566538e7046b882a971999</id>
<content type='text'>
Write raw BTF to files, parse it and compare to original;
this allows us to test parsing of (multi-)split BTF code.

Signed-off-by: Alan Maguire &lt;alan.maguire@oracle.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20251104203309.318429-3-alan.maguire@oracle.com
</content>
</entry>
<entry>
<title>selftests/bpf: Test multi-split BTF</title>
<updated>2025-05-20T23:22:30Z</updated>
<author>
<name>Alan Maguire</name>
</author>
<published>2025-05-19T16:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02f5e7c1f3ea18c99403b23b8bb400bd07b0c456'/>
<id>urn:sha1:02f5e7c1f3ea18c99403b23b8bb400bd07b0c456</id>
<content type='text'>
Extend split BTF test to cover case where we create split BTF on top of
existing split BTF and add info to it; ensure that such BTF can be
created and handled by searching within it, dumping/comparing to expected.

Signed-off-by: Alan Maguire &lt;alan.maguire@oracle.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20250519165935.261614-3-alan.maguire@oracle.com
</content>
</entry>
<entry>
<title>selftests/bpf: Update btf_dump__new() uses to v1.0+ variant</title>
<updated>2021-11-12T00:54:06Z</updated>
<author>
<name>Andrii Nakryiko</name>
</author>
<published>2021-11-11T05:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60ba87bb6bafaaa6e8ef9a73834cf701194d1923'/>
<id>urn:sha1:60ba87bb6bafaaa6e8ef9a73834cf701194d1923</id>
<content type='text'>
Update to-be-deprecated forms of btf_dump__new().

Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20211111053624.190580-8-andrii@kernel.org
</content>
</entry>
<entry>
<title>selftests/bpf: Switch to new btf__type_cnt/btf__raw_data APIs</title>
<updated>2021-10-22T23:09:14Z</updated>
<author>
<name>Hengqi Chen</name>
</author>
<published>2021-10-22T13:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=487ef148cf17730442444c07a4c56f16578ec73e'/>
<id>urn:sha1:487ef148cf17730442444c07a4c56f16578ec73e</id>
<content type='text'>
Replace the calls to btf__get_nr_types/btf__get_raw_data in
selftests with new APIs btf__type_cnt/btf__raw_data. The old
APIs will be deprecated in libbpf v0.7+.

Signed-off-by: Hengqi Chen &lt;hengqi.chen@gmail.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20211022130623.1548429-6-hengqi.chen@gmail.com
</content>
</entry>
<entry>
<title>selftests/bpf: Add split BTF basic test</title>
<updated>2020-11-06T02:37:30Z</updated>
<author>
<name>Andrii Nakryiko</name>
</author>
<published>2020-11-05T04:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=197389da2fbfbc3cefb229268c32d858d9575c96'/>
<id>urn:sha1:197389da2fbfbc3cefb229268c32d858d9575c96</id>
<content type='text'>
Add selftest validating ability to programmatically generate and then dump
split BTF.

Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Acked-by: Song Liu &lt;songliubraving@fb.com&gt;
Link: https://lore.kernel.org/bpf/20201105043402.2530976-6-andrii@kernel.org
</content>
</entry>
</feed>
