<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/bpf/test_section_names.c, branch linux-5.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-06-27T22:25:17Z</updated>
<entry>
<title>selftests/bpf: test sockopt section name</title>
<updated>2019-06-27T22:25:17Z</updated>
<author>
<name>Stanislav Fomichev</name>
</author>
<published>2019-06-27T20:38:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47ac90bbce5b9f7c1c600a4c81fcfd78cb674798'/>
<id>urn:sha1:47ac90bbce5b9f7c1c600a4c81fcfd78cb674798</id>
<content type='text'>
Add tests that make sure libbpf section detection works.

Cc: Andrii Nakryiko &lt;andriin@fb.com&gt;
Cc: Martin Lau &lt;kafai@fb.com&gt;
Signed-off-by: Stanislav Fomichev &lt;sdf@google.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>bpf: expand section tests for test_section_names</title>
<updated>2019-06-06T23:53:12Z</updated>
<author>
<name>Daniel Borkmann</name>
</author>
<published>2019-06-06T23:49:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b714560f7b38de9f03b8670890ba130d4cc5604e'/>
<id>urn:sha1:b714560f7b38de9f03b8670890ba130d4cc5604e</id>
<content type='text'>
Add cgroup/recvmsg{4,6} to test_section_names as well. Test run output:

  # ./test_section_names
  libbpf: failed to guess program type based on ELF section name 'InvAliD'
  libbpf: supported section(type) names are: [...]
  libbpf: failed to guess attach type based on ELF section name 'InvAliD'
  libbpf: attachable section(type) names are: [...]
  libbpf: failed to guess program type based on ELF section name 'cgroup'
  libbpf: supported section(type) names are: [...]
  libbpf: failed to guess attach type based on ELF section name 'cgroup'
  libbpf: attachable section(type) names are: [...]
  Summary: 38 PASSED, 0 FAILED

Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/bpf: Test sysctl section name</title>
<updated>2019-04-12T20:54:58Z</updated>
<author>
<name>Andrey Ignatov</name>
</author>
<published>2019-03-08T17:17:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7007af63da3bf6764c9208029a3585756260b55f'/>
<id>urn:sha1:7007af63da3bf6764c9208029a3585756260b55f</id>
<content type='text'>
Add unit test to verify that program and attach types are properly
identified for "cgroup/sysctl" section name.

Signed-off-by: Andrey Ignatov &lt;rdna@fb.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/bpf: Test libbpf_{prog,attach}_type_by_name</title>
<updated>2018-09-27T19:14:59Z</updated>
<author>
<name>Andrey Ignatov</name>
</author>
<published>2018-09-26T22:24:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=370920c47b26ae3a837f7c46f0795804ae2940f7'/>
<id>urn:sha1:370920c47b26ae3a837f7c46f0795804ae2940f7</id>
<content type='text'>
Add selftest for libbpf functions libbpf_prog_type_by_name and
libbpf_attach_type_by_name.

Example of output:
  % ./tools/testing/selftests/bpf/test_section_names
  Summary: 35 PASSED, 0 FAILED

Signed-off-by: Andrey Ignatov &lt;rdna@fb.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
</content>
</entry>
</feed>
