[PATCH openEuler-22.09 v2 118/391] bpf: Refactor check_func_call() to allow callback function