diff options
| author | 2026-04-02 19:44:18 -0700 | |
|---|---|---|
| committer | 2026-04-03 08:34:33 -0700 | |
| commit | 427c07ddb9e63dc96488bbf51bb196e7aca19825 (patch) | |
| tree | 0fe7786147d64fbff58d168d31809e721d25fd00 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | bpf: Sort subprogs in topological order after check_cfg() (diff) | |
selftests/bpf: Add tests for subprog topological ordering
Add few tests for topo sort:
- linear chain: main -> A -> B
- diamond: main -> A, main -> B, A -> C, B -> C
- mixed global/static: main -> global -> static leaf
- shared callee: main -> leaf, main -> global -> leaf
- duplicate calls: main calls same subprog twice
- no calls: single subprog
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260403024422.87231-4-alexei.starovoitov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
