diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2024-07-22 16:38:35 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2024-07-29 15:05:05 -0700 |
| commit | 45cbc7a5e004cf08528ef83633c62120cca3a5ee (patch) | |
| tree | 864b53b3bce707631502b7a20d30536a5eca0111 /scripts/gdb/linux/utils.py | |
| parent | 26672b5caf3cbeeffe8651035dddff95f610e7ec (diff) | |
bpf: add a get_helper_proto() utility function
Extract the part of check_helper_call() as a utility function allowing
to query 'struct bpf_func_proto' for a specific helper function id.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240722233844.1406874-2-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
