| /linux/kernel/bpf/ |
| H A D | btf.c | 6219 bpf_log(log, "arg#%d struct doesn't have a name\n", arg); in btf_is_prog_ctx_type() 6225 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_is_prog_ctx_type() 6233 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_is_prog_ctx_type() 6279 bpf_log(log, "arg#%d type isn't a pointer\n", arg); in btf_validate_prog_ctx_type() 6306 bpf_log(log, "arg#%d type doesn't have a name\n", arg); in btf_validate_prog_ctx_type() 6379 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_validate_prog_ctx_type() 6392 bpf_log(log, "arg#%d should be void pointer\n", arg); in btf_validate_prog_ctx_type() 6398 bpf_log(log, "arg#%d should be `struct %s *`\n", arg, ctx_tname); in btf_validate_prog_ctx_type() 6429 bpf_log(log, "kern ctx type id %u is not a struct\n", kctx_type_id); in get_kern_ctx_btf_id() 6922 bpf_log(log, "func '%s' offset %d is not multiple of 8\n", in btf_ctx_access() [all …]
|
| H A D | bpf_lsm.c | 126 bpf_log(vlog, in bpf_lsm_verify_prog() 132 bpf_log(vlog, "attach_btf_id %u points to disabled hook %s\n", in bpf_lsm_verify_prog() 138 bpf_log(vlog, "attach_btf_id %u points to wrong type name %s\n", in bpf_lsm_verify_prog()
|
| H A D | offload.c | 822 bpf_log(log, "metadata kfuncs require device-bound program\n"); in bpf_dev_bound_kfunc_check() 827 bpf_log(log, "metadata kfuncs can't be offloaded\n"); in bpf_dev_bound_kfunc_check()
|
| H A D | log.c | 318 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, in bpf_log() function 330 EXPORT_SYMBOL_GPL(bpf_log);
|
| H A D | verifier.c | 2722 bpf_log(log, "function name %s%s is too long\n", in find_kfunc_impl_proto() 2729 bpf_log(log, "cannot find function %s in BTF\n", buf); in find_kfunc_impl_proto() 9725 bpf_log(log, "%s is not a scalar\n", reg_arg_name(env, argno)); in btf_check_func_arg_match() 9742 bpf_log(log, "%s expects pointer to ctx\n", in btf_check_func_arg_match() 9759 bpf_log(log, "%s is a packet pointer, but func#%d may change packet data\n", in btf_check_func_arg_match() 9765 bpf_log(log, "%s is expected to be non-NULL\n", in btf_check_func_arg_match() 9778 bpf_log(log, "%s is not a pointer to arena or scalar.\n", in btf_check_func_arg_match() 20088 bpf_log(log, "kfunc %s has inconsistent KF_IMPLICIT_ARGS\n", name); 20131 bpf_log(log, "Tracing programs must provide btf_id\n"); in bpf_check_attach_target() 20136 bpf_log(lo in bpf_check_attach_target() [all...] |
| H A D | syscall.c | 1395 bpf_log(log, "Invalid attr.\n"); in map_create_alloc() 1407 bpf_log(log, "btf_vmlinux_value_type_id can only be used with struct_ops maps.\n"); in map_create_alloc() 1411 bpf_log(log, "btf_vmlinux_value_type_id is mutually exclusive with btf_key_type_id and btf_value_type_id.\n"); in map_create_alloc() 1415 bpf_log(log, "Invalid btf_value_type_id.\n"); in map_create_alloc() 1423 bpf_log(log, "Invalid map_extra.\n"); in map_create_alloc() 1430 bpf_log(log, "Invalid numa_node.\n"); in map_create_alloc() 1437 bpf_log(log, "Invalid map_type.\n"); in map_create_alloc() 1458 bpf_log(log, "Invalid map_token_fd.\n"); in map_create_alloc() 1545 bpf_log(log, "Invalid map_name.\n"); in map_create_alloc() 1570 bpf_log(lo in map_create_alloc() [all...] |
| H A D | const_fold.c | 385 bpf_log(&env->log, "Unknown conditional jump %x\n", insn->code); in bpf_prune_dead_branches()
|
| /linux/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 70 bpf_log(log, "only read is supported\n"); in bpf_tcp_ca_btf_struct_access() 107 bpf_log(log, "no write support to tcp_sock at off %d\n", off); in bpf_tcp_ca_btf_struct_access() 112 bpf_log(log, in bpf_tcp_ca_btf_struct_access()
|
| /linux/drivers/hid/bpf/ |
| H A D | hid_bpf_struct_ops.c | 126 bpf_log(log, "write access for struct %s at off %d with size %d\n", in hid_bpf_ops_btf_struct_access() 140 bpf_log(log, "write access to this struct is not supported\n"); in hid_bpf_ops_btf_struct_access() 142 bpf_log(log, in hid_bpf_ops_btf_struct_access()
|
| /linux/net/sched/ |
| H A D | bpf_qdisc.c | 113 bpf_log(log, "only read is supported\n"); in bpf_qdisc_btf_struct_access() 118 bpf_log(log, "no write support to %s at off %d\n", in bpf_qdisc_btf_struct_access() 124 bpf_log(log, in bpf_qdisc_btf_struct_access()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_bpf.c | 279 bpf_log(log, "only read is supported\n"); in BTF_ID() 293 bpf_log(log, "no write support to nf_conn at off %d\n", off); in BTF_ID() 298 bpf_log(log, in BTF_ID()
|
| /linux/tools/lib/bpf/ |
| H A D | relo_core.c | 53 #define pr_warn(fmt, log, ...) bpf_log((void *)log, fmt, "", ##__VA_ARGS__) 54 #define pr_info(fmt, log, ...) bpf_log((void *)log, fmt, "", ##__VA_ARGS__) 55 #define pr_debug(fmt, log, ...) bpf_log((void *)log, fmt, "", ##__VA_ARGS__) 56 #define libbpf_print(level, fmt, ...) bpf_log((void *)prog_name, fmt, ##__VA_ARGS__)
|
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 1090 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, 1111 bpf_log(&env->log, "verifier bug: " fmt "\n", ##args); \
|