diff options
author | Yonghong Song <yhs@fb.com> | 2021-02-26 23:49:23 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-27 00:23:52 +0300 |
commit | 1435137573f9c75455903e8cd01f84d6e092ea16 (patch) | |
tree | 9f502032f0236631b38bc67cde67de1a4c929715 /scripts/bpf_helpers_doc.py | |
parent | bc2591d63fc91bd5a9aaff145148a224d892bdb8 (diff) | |
download | linux-1435137573f9c75455903e8cd01f84d6e092ea16.tar.xz |
bpf: Refactor check_func_call() to allow callback function
Later proposed bpf_for_each_map_elem() helper has callback
function as one of its arguments. This patch refactored
check_func_call() to permit callback function which sets
callee state. Different callback functions may have
different callee states.
There is no functionality change for this patch.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210226204923.3884627-1-yhs@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions