diff options
| author | Amery Hung <ameryhung@gmail.com> | 2025-08-06 09:25:39 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-08-06 16:01:56 -0700 |
| commit | eeb52b6279cfebae07703f772621fb9d5972e541 (patch) | |
| tree | 224105f80187b8b967f24547756653ad0bf98947 /scripts/gdb/linux/utils.py | |
| parent | d87a513d093726d121dd5c816e26803111a259d0 (diff) | |
selftests/bpf: Add multi_st_ops that supports multiple instances
Current struct_ops in bpf_testmod only support attaching single instance.
Add multi_st_ops that supports multiple instances. The struct_ops uses map
id as the struct_ops id and will reject attachment with an existing id.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250806162540.681679-3-ameryhung@gmail.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
