Lines Matching refs:bpf_log

5106 		bpf_log(log, "btf_vmlinux is malformed\n");  in btf_get_prog_ctx_type()
5122 bpf_log(log, "arg#%d struct doesn't have a name\n", arg); in btf_get_prog_ctx_type()
5137 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_get_prog_ctx_type()
5379 bpf_log(log, "func '%s' offset %d is not multiple of 8\n", in btf_ctx_access()
5396 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
5432 bpf_log(log, in btf_ctx_access()
5439 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
5457 bpf_log(log, in btf_ctx_access()
5495 bpf_log(log,"invalid btf_id for context argument offset %u\n", off); in btf_ctx_access()
5543 bpf_log(log, in btf_ctx_access()
5548 bpf_log(log, "func '%s' arg%d has btf_id %d type %s '%s'\n", in btf_ctx_access()
5574 bpf_log(log, "Type '%s' is not a struct\n", tname); in btf_struct_walk()
5614 bpf_log(log, "access beyond struct %s at off %u size %u\n", in btf_struct_walk()
5670 bpf_log(log, "field %s doesn't have size\n", mname); in btf_struct_walk()
5757 bpf_log(log, in btf_struct_walk()
5790 bpf_log(log, in btf_struct_walk()
5798 bpf_log(log, "struct %s doesn't have field at offset %d\n", tname, off); in btf_struct_walk()
5948 bpf_log(log, in btf_distill_func_proto()
5955 bpf_log(log, in btf_distill_func_proto()
5964 bpf_log(log, in btf_distill_func_proto()
5973 bpf_log(log, in btf_distill_func_proto()
5979 bpf_log(log, in btf_distill_func_proto()
6011 bpf_log(log, "%s() is not a global function\n", fn1); in btf_check_func_type_match()
6015 bpf_log(log, "%s() is not a global function\n", fn2); in btf_check_func_type_match()
6032 bpf_log(log, "%s() has %d args while %s() has %d args\n", in btf_check_func_type_match()
6040 bpf_log(log, in btf_check_func_type_match()
6052 bpf_log(log, "arg%d in %s() is %s while %s() has %s\n", in btf_check_func_type_match()
6058 bpf_log(log, in btf_check_func_type_match()
6072 bpf_log(log, in btf_check_func_type_match()
6080 bpf_log(log, in btf_check_func_type_match()
6086 bpf_log(log, in btf_check_func_type_match()
6100 bpf_log(log, in btf_check_func_type_match()
6118 bpf_log(log, "Program extension requires BTF\n"); in btf_check_type_match()
6159 bpf_log(log, "max struct nesting depth exceeded\n"); in __btf_type_is_scalar_struct()
6255 bpf_log(log, "BTF of func_id %u doesn't point to KIND_FUNC\n", in btf_check_func_arg_match()
6263 bpf_log(log, "Invalid BTF of func %s\n", func_name); in btf_check_func_arg_match()
6269 bpf_log(log, "Function %s has %d > %d args\n", func_name, nargs, in btf_check_func_arg_match()
6309 bpf_log(log, "2 or more rdonly/rdwr_buf_size parameters for kfunc"); in btf_check_func_arg_match()
6314 bpf_log(log, "R%d is not a const\n", regno); in btf_check_func_arg_match()
6327 bpf_log(log, "R%d is not a scalar\n", regno); in btf_check_func_arg_match()
6332 bpf_log(log, "Unrecognized arg#%d type %s\n", in btf_check_func_arg_match()
6348 bpf_log(log, "R%d must be referenced\n", regno); in btf_check_func_arg_match()
6365 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()
6378 bpf_log(log, "arg#0 expected pointer to map value\n"); in btf_check_func_arg_match()
6387 bpf_log(log, "arg#0 must have constant offset\n"); in btf_check_func_arg_match()
6393 bpf_log(log, "arg#0 no referenced kptr at map value offset=%llu\n", in btf_check_func_arg_match()
6399 bpf_log(log, "arg#0 BTF type must be a double pointer\n"); in btf_check_func_arg_match()
6407 bpf_log(log, "kernel function %s args#%d pointer type %s %s is not supported\n", in btf_check_func_arg_match()
6413 bpf_log(log, "kernel function %s args#%d expected pointer to %s %s\n", in btf_check_func_arg_match()
6423 bpf_log(log, in btf_check_func_arg_match()
6436 bpf_log(log, "kernel function %s args#%d pointer type %s %s is not supported\n", in btf_check_func_arg_match()
6457bpf_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()
6485 bpf_log(log, in btf_check_func_arg_match()
6493 bpf_log(log, "arg#%d pointer type %s %s not to stack\n", in btf_check_func_arg_match()
6500 bpf_log(log, in btf_check_func_arg_match()
6509 bpf_log(log, in btf_check_func_arg_match()
6522 bpf_log(log, "arg#%d arg#%d memory, len pair leads to invalid memory access\n", in btf_check_func_arg_match()
6533 bpf_log(log, in btf_check_func_arg_match()
6543 bpf_log(log, "reg type unsupported for arg#%d %sfunction %s#%d\n", i, in btf_check_func_arg_match()
6557 bpf_log(log, "release kernel function %s expects refcounted PTR_TO_BTF_ID\n", in btf_check_func_arg_match()
6563 bpf_log(log, "kernel function %s is sleepable but the program is not\n", in btf_check_func_arg_match()
6685 bpf_log(log, "Verifier bug\n"); in btf_prepare_func_args()
6691 bpf_log(log, "Global functions need valid BTF\n"); in btf_prepare_func_args()
6700 bpf_log(log, "BTF of func#%d doesn't point to KIND_FUNC\n", in btf_prepare_func_args()
6707 bpf_log(log, "Validating %s() func#%d...\n", in btf_prepare_func_args()
6711 bpf_log(log, "Verifier bug in function %s()\n", tname); in btf_prepare_func_args()
6719 bpf_log(log, "Invalid type of function %s()\n", tname); in btf_prepare_func_args()
6725 bpf_log(log, "Global function %s() with %d > %d args. Buggy compiler.\n", in btf_prepare_func_args()
6734 bpf_log(log, in btf_prepare_func_args()
6762 bpf_log(log, in btf_prepare_func_args()
6774 bpf_log(log, "Arg#%d type %s in %s() is not supported yet.\n", in btf_prepare_func_args()
7719 bpf_log(log, "[%d]%s(", i, cc->name); in __print_cand_cache()
7721 bpf_log(log, "%d", cc->cands[j].id); in __print_cand_cache()
7723 bpf_log(log, " "); in __print_cand_cache()
7725 bpf_log(log, "), "); in __print_cand_cache()
7732 bpf_log(log, "vmlinux_cand_cache:"); in print_cand_cache()
7734 bpf_log(log, "\nmodule_cand_cache:"); in print_cand_cache()
7736 bpf_log(log, "\n"); in print_cand_cache()
7993 bpf_log(ctx->log, "target candidate search failed for %d\n", in bpf_core_apply()
8006 bpf_log(ctx->log, in bpf_core_apply()