Lines Matching refs:bpf_log

5968 		bpf_log(log, "arg#%d struct doesn't have a name\n", arg);  in btf_is_prog_ctx_type()
5974 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_is_prog_ctx_type()
5982 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_is_prog_ctx_type()
6028 bpf_log(log, "arg#%d type isn't a pointer\n", arg); in btf_validate_prog_ctx_type()
6055 bpf_log(log, "arg#%d type doesn't have a name\n", arg); in btf_validate_prog_ctx_type()
6127 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_validate_prog_ctx_type()
6140 bpf_log(log, "arg#%d should be void pointer\n", arg); in btf_validate_prog_ctx_type()
6146 bpf_log(log, "arg#%d should be `struct %s *`\n", arg, ctx_tname); in btf_validate_prog_ctx_type()
6177 bpf_log(log, "kern ctx type id %u is not a struct\n", kctx_type_id); in get_kern_ctx_btf_id()
6670 bpf_log(log, "func '%s' offset %d is not multiple of 8\n", in btf_ctx_access()
6687 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
6726 bpf_log(log, in btf_ctx_access()
6733 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
6751 bpf_log(log, in btf_ctx_access()
6760 bpf_log(log, "func '%s' size %d must be 8\n", in btf_ctx_access()
6795 bpf_log(log,"invalid btf_id for context argument offset %u\n", off); in btf_ctx_access()
6883 bpf_log(log, in btf_ctx_access()
6888 bpf_log(log, "func '%s' arg%d has btf_id %d type %s '%s'\n", in btf_ctx_access()
6897 bpf_log(log, "marking pointer arg%d as scalar as it may encode error", arg); in btf_ctx_access()
6927 bpf_log(log, "Type '%s' is not a struct\n", tname); in btf_struct_walk()
6977 bpf_log(log, "access beyond struct %s at off %u size %u\n", in btf_struct_walk()
7033 bpf_log(log, "field %s doesn't have size\n", mname); in btf_struct_walk()
7120 bpf_log(log, in btf_struct_walk()
7158 bpf_log(log, in btf_struct_walk()
7166 bpf_log(log, "struct %s doesn't have field at offset %d\n", tname, off); in btf_struct_walk()
7195 bpf_log(log, in btf_struct_access()
7360 bpf_log(log, in btf_distill_func_proto()
7367 bpf_log(log, in btf_distill_func_proto()
7377 bpf_log(log, in btf_distill_func_proto()
7386 bpf_log(log, in btf_distill_func_proto()
7392 bpf_log(log, in btf_distill_func_proto()
7424 bpf_log(log, "%s() is not a global function\n", fn1); in btf_check_func_type_match()
7428 bpf_log(log, "%s() is not a global function\n", fn2); in btf_check_func_type_match()
7445 bpf_log(log, "%s() has %d args while %s() has %d args\n", in btf_check_func_type_match()
7453 bpf_log(log, in btf_check_func_type_match()
7465 bpf_log(log, "arg%d in %s() is %s while %s() has %s\n", in btf_check_func_type_match()
7471 bpf_log(log, in btf_check_func_type_match()
7485 bpf_log(log, in btf_check_func_type_match()
7493 bpf_log(log, in btf_check_func_type_match()
7499 bpf_log(log, in btf_check_func_type_match()
7513 bpf_log(log, in btf_check_func_type_match()
7531 bpf_log(log, "Program extension requires BTF\n"); in btf_check_type_match()
7604 bpf_log(log, "arg#%d reference type('%s %s') candidate matching error: %d\n", in btf_get_ptr_to_btf_id()
7610 bpf_log(log, "arg#%d reference type('%s %s') %s\n", in btf_get_ptr_to_btf_id()
7617 bpf_log(log, "arg#%d reference type('%s %s') points to kernel module type (unsupported)\n", in btf_get_ptr_to_btf_id()
7665 bpf_log(log, "Verifier bug\n"); in btf_prepare_func_args()
7673 bpf_log(log, "Global functions need valid BTF\n"); in btf_prepare_func_args()
7682 bpf_log(log, "BTF of func#%d doesn't point to KIND_FUNC\n", in btf_prepare_func_args()
7689 bpf_log(log, "Verifier bug in function %s()\n", tname); in btf_prepare_func_args()
7697 bpf_log(log, "Invalid type of function %s()\n", tname); in btf_prepare_func_args()
7705 bpf_log(log, "Global function %s() with %d > %d args. Buggy compiler.\n", in btf_prepare_func_args()
7716 bpf_log(log, in btf_prepare_func_args()
7737 bpf_log(log, "arg#%d type tag is not supported in static functions\n", i); in btf_prepare_func_args()
7752 bpf_log(log, "arg#%d has unsupported set of tags\n", i); in btf_prepare_func_args()
7757 bpf_log(log, "arg#%d type tag fetching failure: %d\n", i, id); in btf_prepare_func_args()
7769 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7781 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7791 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7807 bpf_log(log, "arg#%d arena cannot be combined with any other tags\n", i); in btf_prepare_func_args()
7817 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7824 bpf_log(log, "arg#%d reference type('%s %s') size cannot be determined: %ld\n", in btf_prepare_func_args()
7839 bpf_log(log, "arg#%d has pointer tag, but is not a pointer type\n", i); in btf_prepare_func_args()
7848 bpf_log(log, "Arg#%d type %s in %s() is not supported yet.\n", in btf_prepare_func_args()
8971 bpf_log(log, "[%d]%s(", i, cc->name); in __print_cand_cache()
8973 bpf_log(log, "%d", cc->cands[j].id); in __print_cand_cache()
8975 bpf_log(log, " "); in __print_cand_cache()
8977 bpf_log(log, "), "); in __print_cand_cache()
8984 bpf_log(log, "vmlinux_cand_cache:"); in print_cand_cache()
8986 bpf_log(log, "\nmodule_cand_cache:"); in print_cand_cache()
8988 bpf_log(log, "\n"); in print_cand_cache()
9239 bpf_log(ctx->log, "relo #%u: bad type id %u\n", in bpf_core_apply()
9252 bpf_log(ctx->log, "target candidate search failed for %d\n", in bpf_core_apply()
9265 bpf_log(ctx->log, in bpf_core_apply()