[PATCH openEuler-22.09 122/379] bpf: Refactor check_func_call() to allow callback function