Lines Matching refs:bpf_log

5101 		bpf_log(log, "btf_vmlinux is malformed\n");  in btf_get_prog_ctx_type()
5117 bpf_log(log, "arg#%d struct doesn't have a name\n", arg); in btf_get_prog_ctx_type()
5132 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_get_prog_ctx_type()
5374 bpf_log(log, "func '%s' offset %d is not multiple of 8\n", in btf_ctx_access()
5391 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
5427 bpf_log(log, in btf_ctx_access()
5434 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
5452 bpf_log(log, in btf_ctx_access()
5490 bpf_log(log,"invalid btf_id for context argument offset %u\n", off); in btf_ctx_access()
5538 bpf_log(log, in btf_ctx_access()
5543 bpf_log(log, "func '%s' arg%d has btf_id %d type %s '%s'\n", in btf_ctx_access()
5569 bpf_log(log, "Type '%s' is not a struct\n", tname); in btf_struct_walk()
5609 bpf_log(log, "access beyond struct %s at off %u size %u\n", in btf_struct_walk()
5665 bpf_log(log, "field %s doesn't have size\n", mname); in btf_struct_walk()
5752 bpf_log(log, in btf_struct_walk()
5785 bpf_log(log, in btf_struct_walk()
5793 bpf_log(log, "struct %s doesn't have field at offset %d\n", tname, off); in btf_struct_walk()
5943 bpf_log(log, in btf_distill_func_proto()
5950 bpf_log(log, in btf_distill_func_proto()
5959 bpf_log(log, in btf_distill_func_proto()
5968 bpf_log(log, in btf_distill_func_proto()
5974 bpf_log(log, in btf_distill_func_proto()
6006 bpf_log(log, "%s() is not a global function\n", fn1); in btf_check_func_type_match()
6010 bpf_log(log, "%s() is not a global function\n", fn2); in btf_check_func_type_match()
6027 bpf_log(log, "%s() has %d args while %s() has %d args\n", in btf_check_func_type_match()
6035 bpf_log(log, in btf_check_func_type_match()
6047 bpf_log(log, "arg%d in %s() is %s while %s() has %s\n", in btf_check_func_type_match()
6053 bpf_log(log, in btf_check_func_type_match()
6067 bpf_log(log, in btf_check_func_type_match()
6075 bpf_log(log, in btf_check_func_type_match()
6081 bpf_log(log, in btf_check_func_type_match()
6095 bpf_log(log, in btf_check_func_type_match()
6113 bpf_log(log, "Program extension requires BTF\n"); in btf_check_type_match()
6154 bpf_log(log, "max struct nesting depth exceeded\n"); in __btf_type_is_scalar_struct()
6250 bpf_log(log, "BTF of func_id %u doesn't point to KIND_FUNC\n", in btf_check_func_arg_match()
6258 bpf_log(log, "Invalid BTF of func %s\n", func_name); in btf_check_func_arg_match()
6264 bpf_log(log, "Function %s has %d > %d args\n", func_name, nargs, in btf_check_func_arg_match()
6304 bpf_log(log, "2 or more rdonly/rdwr_buf_size parameters for kfunc"); in btf_check_func_arg_match()
6309 bpf_log(log, "R%d is not a const\n", regno); in btf_check_func_arg_match()
6322 bpf_log(log, "R%d is not a scalar\n", regno); in btf_check_func_arg_match()
6327 bpf_log(log, "Unrecognized arg#%d type %s\n", in btf_check_func_arg_match()
6343 bpf_log(log, "R%d must be referenced\n", regno); in btf_check_func_arg_match()
6360 bpf_log(log, "verifier internal error: more than one arg with ref_obj_id R%d %u %u\n", in btf_check_func_arg_match()
6373 bpf_log(log, "arg#0 expected pointer to map value\n"); in btf_check_func_arg_match()
6382 bpf_log(log, "arg#0 must have constant offset\n"); in btf_check_func_arg_match()
6388 bpf_log(log, "arg#0 no referenced kptr at map value offset=%llu\n", in btf_check_func_arg_match()
6394 bpf_log(log, "arg#0 BTF type must be a double pointer\n"); in btf_check_func_arg_match()
6402 bpf_log(log, "kernel function %s args#%d pointer type %s %s is not supported\n", in btf_check_func_arg_match()
6408 bpf_log(log, "kernel function %s args#%d expected pointer to %s %s\n", in btf_check_func_arg_match()
6418 bpf_log(log, in btf_check_func_arg_match()
6431 bpf_log(log, "kernel function %s args#%d pointer type %s %s is not supported\n", in btf_check_func_arg_match()
6452bpf_log(log, "kernel function %s args#%d expected pointer to %s %s but R%d has a pointer to %s %s\… in btf_check_func_arg_match()
6480 bpf_log(log, in btf_check_func_arg_match()
6488 bpf_log(log, "arg#%d pointer type %s %s not to stack\n", in btf_check_func_arg_match()
6495 bpf_log(log, in btf_check_func_arg_match()
6504 bpf_log(log, in btf_check_func_arg_match()
6517 bpf_log(log, "arg#%d arg#%d memory, len pair leads to invalid memory access\n", in btf_check_func_arg_match()
6528 bpf_log(log, in btf_check_func_arg_match()
6538 bpf_log(log, "reg type unsupported for arg#%d %sfunction %s#%d\n", i, in btf_check_func_arg_match()
6552 bpf_log(log, "release kernel function %s expects refcounted PTR_TO_BTF_ID\n", in btf_check_func_arg_match()
6558 bpf_log(log, "kernel function %s is sleepable but the program is not\n", in btf_check_func_arg_match()
6680 bpf_log(log, "Verifier bug\n"); in btf_prepare_func_args()
6686 bpf_log(log, "Global functions need valid BTF\n"); in btf_prepare_func_args()
6695 bpf_log(log, "BTF of func#%d doesn't point to KIND_FUNC\n", in btf_prepare_func_args()
6702 bpf_log(log, "Validating %s() func#%d...\n", in btf_prepare_func_args()
6706 bpf_log(log, "Verifier bug in function %s()\n", tname); in btf_prepare_func_args()
6714 bpf_log(log, "Invalid type of function %s()\n", tname); in btf_prepare_func_args()
6720 bpf_log(log, "Global function %s() with %d > %d args. Buggy compiler.\n", in btf_prepare_func_args()
6729 bpf_log(log, in btf_prepare_func_args()
6757 bpf_log(log, in btf_prepare_func_args()
6769 bpf_log(log, "Arg#%d type %s in %s() is not supported yet.\n", in btf_prepare_func_args()
7714 bpf_log(log, "[%d]%s(", i, cc->name); in __print_cand_cache()
7716 bpf_log(log, "%d", cc->cands[j].id); in __print_cand_cache()
7718 bpf_log(log, " "); in __print_cand_cache()
7720 bpf_log(log, "), "); in __print_cand_cache()
7727 bpf_log(log, "vmlinux_cand_cache:"); in print_cand_cache()
7729 bpf_log(log, "\nmodule_cand_cache:"); in print_cand_cache()
7731 bpf_log(log, "\n"); in print_cand_cache()
7988 bpf_log(ctx->log, "target candidate search failed for %d\n", in bpf_core_apply()
8001 bpf_log(ctx->log, in bpf_core_apply()