diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-08-13 00:19:23 +0200 |
|---|---|---|
| committer | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-12 17:45:07 -0700 |
| commit | 5cb481e1391a886b13f9a6cdf2853a521f660d3f (patch) | |
| tree | 532f41ea11e0219d9e57e22bcaf188f0e67ec654 /tools/perf/scripts/python/parallel-perf.py | |
| parent | b961cf317100b436a78554597ebd4623b4c4e3ba (diff) | |
selftests/bpf: Test subprogram instruction statistics
Add small verifier programs with deterministic instruction streams to
exercise per-subprogram self and inclusive instruction accounting. Use
assembly for normal call chains and straight-line callback bodies containing
only moves, calls, and returns or exits, so control-flow pruning does not make
the expected counts unstable. Pass callback arguments as explicit assembly
operands so the compiler keeps their registers live across the asm block.
Cover asynchronous callback attribution separately: main verification-root
totals include all callback exploration, while static and callback totals
remain local to their synchronous paths.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://patch.msgid.link/20260812221925.3358041-7-memxor@gmail.com
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
