| /linux/kernel/bpf/ |
| H A D | btf.c | 6166 bpf_log(log, "arg#%d struct doesn't have a name\n", arg); in btf_is_prog_ctx_type() 6172 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_is_prog_ctx_type() 6180 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_is_prog_ctx_type() 6226 bpf_log(log, "arg#%d type isn't a pointer\n", arg); in btf_validate_prog_ctx_type() 6253 bpf_log(log, "arg#%d type doesn't have a name\n", arg); in btf_validate_prog_ctx_type() 6326 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_validate_prog_ctx_type() 6339 bpf_log(log, "arg#%d should be void pointer\n", arg); in btf_validate_prog_ctx_type() 6345 bpf_log(log, "arg#%d should be `struct %s *`\n", arg, ctx_tname); in btf_validate_prog_ctx_type() 6376 bpf_log(log, "kern ctx type id %u is not a struct\n", kctx_type_id); in get_kern_ctx_btf_id() 6862 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 | 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 | 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_t… 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(log, "Invalid btf_fd.\n"); in map_create_alloc() [all …]
|
| H A D | verifier.c | 2711 bpf_log(log, "function name %s%s is too long\n", in find_kfunc_impl_proto() 2718 bpf_log(log, "cannot find function %s in BTF\n", buf); in find_kfunc_impl_proto() 9661 bpf_log(log, "%s is not a scalar\n", reg_arg_name(env, argno)); in btf_check_func_arg_match() 9678 bpf_log(log, "%s expects pointer to ctx\n", in btf_check_func_arg_match() 9691 bpf_log(log, "%s is expected to be non-NULL\n", in btf_check_func_arg_match() 9704 bpf_log(log, "%s is not a pointer to arena or scalar.\n", in btf_check_func_arg_match() 19857 bpf_log(log, "kfunc %s has inconsistent KF_IMPLICIT_ARGS\n", name); in btf_attach_func_proto() 19900 bpf_log(log, "Tracing programs must provide btf_id\n"); in bpf_check_attach_target() 19905 bpf_log(log, in bpf_check_attach_target() 19911 bpf_log(log, "attach_btf_id %u is invalid\n", btf_id); in bpf_check_attach_target() [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/drivers/hid/bpf/ |
| H A D | hid_bpf_struct_ops.c | 120 bpf_log(log, "write access for struct %s at off %d with size %d\n", in hid_bpf_ops_btf_struct_access() 134 bpf_log(log, "write access to this struct is not supported\n"); in hid_bpf_ops_btf_struct_access() 136 bpf_log(log, in hid_bpf_ops_btf_struct_access()
|
| /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/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 | 1086 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, 1107 bpf_log(&env->log, "verifier bug: " fmt "\n", ##args); \
|