Lines Matching refs:bpf_log

6098 		bpf_log(log, "arg#%d struct doesn't have a name\n", arg);  in btf_is_prog_ctx_type()
6104 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_is_prog_ctx_type()
6112 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_is_prog_ctx_type()
6158 bpf_log(log, "arg#%d type isn't a pointer\n", arg); in btf_validate_prog_ctx_type()
6185 bpf_log(log, "arg#%d type doesn't have a name\n", arg); in btf_validate_prog_ctx_type()
6258 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_validate_prog_ctx_type()
6271 bpf_log(log, "arg#%d should be void pointer\n", arg); in btf_validate_prog_ctx_type()
6277 bpf_log(log, "arg#%d should be `struct %s *`\n", arg, ctx_tname); in btf_validate_prog_ctx_type()
6308 bpf_log(log, "kern ctx type id %u is not a struct\n", kctx_type_id); in get_kern_ctx_btf_id()
6804 bpf_log(log, "func '%s' offset %d is not multiple of 8\n", in btf_ctx_access()
6821 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
6861 bpf_log(log, in btf_ctx_access()
6868 bpf_log(log, "func '%s' doesn't have %d-th argument\n", in btf_ctx_access()
6886 bpf_log(log, in btf_ctx_access()
6895 bpf_log(log, "func '%s' size %d must be 8\n", in btf_ctx_access()
6927 bpf_log(log,"invalid btf_id for context argument offset %u\n", off); in btf_ctx_access()
7015 bpf_log(log, in btf_ctx_access()
7020 bpf_log(log, "func '%s' arg%d has btf_id %d type %s '%s'\n", in btf_ctx_access()
7029 bpf_log(log, "marking pointer arg%d as scalar as it may encode error", arg); in btf_ctx_access()
7060 bpf_log(log, "Type '%s' is not a struct\n", tname); in btf_struct_walk()
7110 bpf_log(log, "access beyond struct %s at off %u size %u\n", in btf_struct_walk()
7166 bpf_log(log, "field %s doesn't have size\n", mname); in btf_struct_walk()
7253 bpf_log(log, in btf_struct_walk()
7293 bpf_log(log, in btf_struct_walk()
7301 bpf_log(log, "struct %s doesn't have field at offset %d\n", tname, off); in btf_struct_walk()
7330 bpf_log(log, in btf_struct_access()
7498 bpf_log(log, in btf_distill_func_proto()
7505 bpf_log(log, in btf_distill_func_proto()
7515 bpf_log(log, in btf_distill_func_proto()
7524 bpf_log(log, in btf_distill_func_proto()
7530 bpf_log(log, in btf_distill_func_proto()
7562 bpf_log(log, "%s() is not a global function\n", fn1); in btf_check_func_type_match()
7566 bpf_log(log, "%s() is not a global function\n", fn2); in btf_check_func_type_match()
7583 bpf_log(log, "%s() has %d args while %s() has %d args\n", in btf_check_func_type_match()
7591 bpf_log(log, in btf_check_func_type_match()
7603 bpf_log(log, "arg%d in %s() is %s while %s() has %s\n", in btf_check_func_type_match()
7609 bpf_log(log, in btf_check_func_type_match()
7623 bpf_log(log, in btf_check_func_type_match()
7631 bpf_log(log, in btf_check_func_type_match()
7637 bpf_log(log, in btf_check_func_type_match()
7651 bpf_log(log, in btf_check_func_type_match()
7669 bpf_log(log, "Program extension requires BTF\n"); in btf_check_type_match()
7742 bpf_log(log, "arg#%d reference type('%s %s') candidate matching error: %d\n", in btf_get_ptr_to_btf_id()
7748 bpf_log(log, "arg#%d reference type('%s %s') %s\n", in btf_get_ptr_to_btf_id()
7755 bpf_log(log, "arg#%d reference type('%s %s') points to kernel module type (unsupported)\n", in btf_get_ptr_to_btf_id()
7812 bpf_log(log, "Global functions need valid BTF\n"); in btf_prepare_func_args()
7821 bpf_log(log, "BTF of func#%d doesn't point to KIND_FUNC\n", in btf_prepare_func_args()
7836 bpf_log(log, "Invalid type of function %s()\n", tname); in btf_prepare_func_args()
7844 bpf_log(log, "Global function %s() with %d > %d args. Buggy compiler.\n", in btf_prepare_func_args()
7855 bpf_log(log, in btf_prepare_func_args()
7877 bpf_log(log, "arg#%d type tag is not supported in static functions\n", i); in btf_prepare_func_args()
7894 bpf_log(log, "arg#%d has unsupported set of tags\n", i); in btf_prepare_func_args()
7899 bpf_log(log, "arg#%d type tag fetching failure: %d\n", i, id); in btf_prepare_func_args()
7911 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7923 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7933 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7952 bpf_log(log, "arg#%d untrusted cannot be combined with any other tags\n", i); in btf_prepare_func_args()
7971 bpf_log(log, "arg#%d has type %s '%s', but only struct or primitive types are allowed\n", in btf_prepare_func_args()
7981 bpf_log(log, "arg#%d arena cannot be combined with any other tags\n", i); in btf_prepare_func_args()
7991 bpf_log(log, "arg#%d has invalid combination of tags\n", i); in btf_prepare_func_args()
7998 bpf_log(log, "arg#%d reference type('%s %s') size cannot be determined: %ld\n", in btf_prepare_func_args()
8013 bpf_log(log, "arg#%d has pointer tag, but is not a pointer type\n", i); in btf_prepare_func_args()
8022 bpf_log(log, "Arg#%d type %s in %s() is not supported yet.\n", in btf_prepare_func_args()
9196 bpf_log(log, "[%d]%s(", i, cc->name); in __print_cand_cache()
9198 bpf_log(log, "%d", cc->cands[j].id); in __print_cand_cache()
9200 bpf_log(log, " "); in __print_cand_cache()
9202 bpf_log(log, "), "); in __print_cand_cache()
9209 bpf_log(log, "vmlinux_cand_cache:"); in print_cand_cache()
9211 bpf_log(log, "\nmodule_cand_cache:"); in print_cand_cache()
9213 bpf_log(log, "\n"); in print_cand_cache()
9464 bpf_log(ctx->log, "relo #%u: bad type id %u\n", in bpf_core_apply()
9477 bpf_log(ctx->log, "target candidate search failed for %d\n", in bpf_core_apply()
9491 bpf_log(ctx->log, in bpf_core_apply()