summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorMykyta Yatsenko <yatsenko@meta.com>2025-09-05 15:08:35 +0100
committerAndrii Nakryiko <andrii@kernel.org>2025-09-05 12:12:09 -0700
commite12873ee856ffa6f104869b8ea10c0f741606f13 (patch)
tree0490779d8d2f45c115112dc2c3cdd51645faa7ed /scripts/lib/kdoc/kdoc_re.py
parent9621eb635ba96514edd0fbfaeeec1fffea294abb (diff)
selftests/bpf: Add BPF program dump in veristat
Add the ability to dump BPF program instructions directly from veristat. Previously, inspecting a program required separate bpftool invocations: one to load and another to dump it, which meant running multiple commands. During active development, it's common for developers to use veristat for testing verification. Integrating instruction dumping into veristat reduces the need to switch tools and simplifies the workflow. By making this information more readily accessible, this change aims to streamline the BPF development cycle and improve usability for developers. This implementation leverages bpftool, by running it directly via popen to avoid any code duplication and keep veristat simple. Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250905140835.1416179-1-mykyta.yatsenko5@gmail.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions