diff options
author | Yonghong Song <[email protected]> | 2021-02-26 12:49:23 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-02-26 13:23:52 -0800 |
commit | 1435137573f9c75455903e8cd01f84d6e092ea16 (patch) | |
tree | 9f502032f0236631b38bc67cde67de1a4c929715 /tools/perf/scripts/python/futex-contention.py | |
parent | bc2591d63fc91bd5a9aaff145148a224d892bdb8 (diff) |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions