diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2022-03-05 04:16:38 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-03-05 15:29:35 -0800 |
| commit | 25b35dd28138f61f9a0fb8b76c0483761fd228bd (patch) | |
| tree | 5d346c1c9f6d9a89f9f3069c777f67979767c611 /scripts/gdb/vmlinux-gdb.py | |
| parent | caec549534823d8d0fad43ab6753fd03ddb1c456 (diff) | |
bpf: Add check_func_arg_reg_off function
Lift the list of register types allowed for having fixed and variable
offsets when passed as helper function arguments into a common helper,
so that they can be reused for kfunc checks in later commits. Keeping a
common helper aids maintainability and allows us to follow the same
consistent rules across helpers and kfuncs. Also, convert check_func_arg
to use this function.
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions