<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/tools/testing/selftests/bpf/progs/test_trampoline_count.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-05-20T23:12:14Z</updated>
<entry>
<title>selftests/bpf: Add missing trampoline program type to trampoline_count test</title>
<updated>2022-05-20T23:12:14Z</updated>
<author>
<name>Yuntao Wang</name>
<email>ytcoode@gmail.com</email>
</author>
<published>2022-05-19T15:06:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b23316aabffa835ecc516cb81daeef5b9155e8a5'/>
<id>urn:sha1:b23316aabffa835ecc516cb81daeef5b9155e8a5</id>
<content type='text'>
Currently the trampoline_count test doesn't include any fmod_ret bpf
programs, fix it to make the test cover all possible trampoline program
types.

Since fmod_ret bpf programs can't be attached to __set_task_comm function,
as it's neither whitelisted for error injection nor a security hook, change
it to bpf_modify_return_test.

This patch also does some other cleanups such as removing duplicate code,
dropping inconsistent comments, etc.

Signed-off-by: Yuntao Wang &lt;ytcoode@gmail.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Acked-by: Yonghong Song &lt;yhs@fb.com&gt;
Link: https://lore.kernel.org/bpf/20220519150610.601313-1-ytcoode@gmail.com
</content>
</entry>
<entry>
<title>libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h</title>
<updated>2020-03-03T00:25:14Z</updated>
<author>
<name>Andrii Nakryiko</name>
<email>andriin@fb.com</email>
</author>
<published>2020-02-29T23:11:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=df8ff35311c8d10d90b4604c02b32c361dc997aa'/>
<id>urn:sha1:df8ff35311c8d10d90b4604c02b32c361dc997aa</id>
<content type='text'>
Move BPF_PROG, BPF_KPROBE, and BPF_KRETPROBE macro into libbpf's bpf_tracing.h
header to make it available for non-selftests users.

Signed-off-by: Andrii Nakryiko &lt;andriin@fb.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20200229231112.1240137-5-andriin@fb.com
</content>
</entry>
<entry>
<title>selftest/bpf: Add test for allowed trampolines count</title>
<updated>2020-01-25T15:12:40Z</updated>
<author>
<name>Jiri Olsa</name>
<email>jolsa@kernel.org</email>
</author>
<published>2020-01-23T16:15:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d633d57902a510debd4ec5b7a374a009c8c2d620'/>
<id>urn:sha1:d633d57902a510debd4ec5b7a374a009c8c2d620</id>
<content type='text'>
There's limit of 40 programs tht can be attached
to trampoline for one function. Adding test that
tries to attach that many plus one extra that needs
to fail.

Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20200123161508.915203-4-jolsa@kernel.org
</content>
</entry>
</feed>
