Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/
Dbtf.c5928 bpf_log(log, "arg#%d struct doesn't have a name\n", arg); in btf_is_prog_ctx_type()
5934 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_is_prog_ctx_type()
5942 bpf_log(log, "Please fix kernel include/linux/bpf_types.h\n"); in btf_is_prog_ctx_type()
5988 bpf_log(log, "arg#%d type isn't a pointer\n", arg); in btf_validate_prog_ctx_type()
6015 bpf_log(log, "arg#%d type doesn't have a name\n", arg); in btf_validate_prog_ctx_type()
6087 bpf_log(log, "btf_vmlinux is malformed\n"); in btf_validate_prog_ctx_type()
6100 bpf_log(log, "arg#%d should be void pointer\n", arg); in btf_validate_prog_ctx_type()
6106 bpf_log(log, "arg#%d should be `struct %s *`\n", arg, ctx_tname); in btf_validate_prog_ctx_type()
6137 bpf_log(log, "kern ctx type id %u is not a struct\n", kctx_type_id); in get_kern_ctx_btf_id()
6433 bpf_log(log, "func '%s' offset %d is not multiple of 8\n", in btf_ctx_access()
[all …]
Dbpf_lsm.c121 bpf_log(vlog, in bpf_lsm_verify_prog()
127 bpf_log(vlog, "attach_btf_id %u points to disabled hook %s\n", in bpf_lsm_verify_prog()
133 bpf_log(vlog, "attach_btf_id %u points to wrong type name %s\n", in bpf_lsm_verify_prog()
Doffload.c827 bpf_log(log, "metadata kfuncs require device-bound program\n"); in bpf_dev_bound_kfunc_check()
832 bpf_log(log, "metadata kfuncs can't be offloaded\n"); in bpf_dev_bound_kfunc_check()
Dlog.c318 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, in bpf_log() function
330 EXPORT_SYMBOL_GPL(bpf_log);
Dverifier.c9592 bpf_log(log, "R%d is not a scalar\n", regno); in btf_check_func_arg_match()
9603 bpf_log(log, "arg#%d expects pointer to ctx\n", i); in btf_check_func_arg_match()
9613 bpf_log(log, "arg#%d is expected to be non-NULL\n", i); in btf_check_func_arg_match()
9625 bpf_log(log, "R%d is not a pointer to arena or scalar.\n", regno); in btf_check_func_arg_match()
9649 bpf_log(log, "verifier bug: unrecognized arg#%d type %d\n", in btf_check_func_arg_match()
21876 bpf_log(log, "Tracing programs must provide btf_id\n"); in bpf_check_attach_target()
21881 bpf_log(log, in bpf_check_attach_target()
21887 bpf_log(log, "attach_btf_id %u is invalid\n", btf_id); in bpf_check_attach_target()
21892 bpf_log(log, "attach_btf_id %u doesn't have a name\n", btf_id); in bpf_check_attach_target()
21900 bpf_log(log, "Target program bound device mismatch"); in bpf_check_attach_target()
[all …]
/linux-6.12.1/drivers/hid/bpf/
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-6.12.1/net/ipv4/
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-6.12.1/net/netfilter/
Dnf_conntrack_bpf.c247 bpf_log(log, "only read is supported\n"); in BTF_ID()
261 bpf_log(log, "no write support to nf_conn at off %d\n", off); in BTF_ID()
266 bpf_log(log, in BTF_ID()
/linux-6.12.1/net/bpf/
Dbpf_dummy_struct_ops.c251 bpf_log(log, "only access to bpf_dummy_ops_state is supported\n"); in bpf_dummy_ops_btf_struct_access()
256 bpf_log(log, "write access at off %d with size %d\n", off, size); in bpf_dummy_ops_btf_struct_access()
/linux-6.12.1/tools/lib/bpf/
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-6.12.1/include/linux/
Dbpf_verifier.h803 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log,