<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/tools/testing/selftests/bpf/progs/stacktrace_map.c, branch master</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=master</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2025-09-25T23:17:30+00:00</updated>
<entry>
<title>selftests/bpf: Add stacktrace map lookup_and_delete_elem test case</title>
<updated>2025-09-25T23:17:30+00:00</updated>
<author>
<name>Tao Chen</name>
<email>chen.dylane@linux.dev</email>
</author>
<published>2025-09-25T17:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d43029ff7d1b7183dc0cf11b6cc2c12a0b810ad8'/>
<id>urn:sha1:d43029ff7d1b7183dc0cf11b6cc2c12a0b810ad8</id>
<content type='text'>
Add tests for stacktrace map lookup and delete:
1. use bpf_map_lookup_and_delete_elem to lookup and delete the target
   stack_id,
2. lookup the deleted stack_id again to double check.

Signed-off-by: Tao Chen &lt;chen.dylane@linux.dev&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20250925175030.1615837-3-chen.dylane@linux.dev
</content>
</entry>
<entry>
<title>selftests/bpf: Refactor stacktrace_map case with skeleton</title>
<updated>2025-09-25T23:17:14+00:00</updated>
<author>
<name>Tao Chen</name>
<email>chen.dylane@linux.dev</email>
</author>
<published>2025-09-25T17:50:29+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=363b17e273f0929ba7791231a0bbb5424204d93a'/>
<id>urn:sha1:363b17e273f0929ba7791231a0bbb5424204d93a</id>
<content type='text'>
The loading method of the stacktrace_map test case looks too outdated,
refactor it with skeleton, and we can use global variable feature in
the next patch.

Signed-off-by: Tao Chen &lt;chen.dylane@linux.dev&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20250925175030.1615837-2-chen.dylane@linux.dev
</content>
</entry>
</feed>
