Home
last modified time | relevance | path

Searched refs:bpf_log (Results 1 – 12 of 12) sorted by relevance

/linux/kernel/bpf/
H A Dbtf.c6166 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 Dbpf_lsm.c126 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 Dlog.c318 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, in bpf_log() function
330 EXPORT_SYMBOL_GPL(bpf_log);
H A Dsyscall.c1395 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()
1411bpf_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 Dverifier.c2711 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 Dconst_fold.c385 bpf_log(&env->log, "Unknown conditional jump %x\n", insn->code); in bpf_prune_dead_branches()
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c120 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 Dbpf_tcp_ca.c70 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 Dbpf_qdisc.c113 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 Dnf_conntrack_bpf.c279 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 Drelo_core.c53 #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 Dbpf_verifier.h1086 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log,
1107 bpf_log(&env->log, "verifier bug: " fmt "\n", ##args); \