diff options
author | Eduard Zingerman <[email protected]> | 2024-12-09 20:10:53 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-12-10 10:24:57 -0800 |
commit | 27e88bc4df1d80888fe1aaca786a7cc6e69587e2 (patch) | |
tree | a6ff8b45f8f97835d1bfc0b4294c8f6792fa86b7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 978c4486cca5c7b9253d3ab98a88c8e769cb9bbd (diff) |
bpf: add find_containing_subprog() utility function
Add a utility function, looking for a subprogram containing a given
instruction index, rewrite find_subprog() to use this function.
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions