Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbtf.c6098 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()
[all …]
H A Dliveness.c427 bpf_log(&env->log, "%s frame %d insn %d ", fmt_callchain(env, callchain), frame, insn_idx); in log_mask_change()
430 bpf_log(&env->log, "+%s %s ", pfx, env->tmp_str_buf); in log_mask_change()
434 bpf_log(&env->log, "-%s %s", pfx, env->tmp_str_buf); in log_mask_change()
436 bpf_log(&env->log, "\n"); in log_mask_change()
657 bpf_log(&env->log, "%s live stack update done in %d iterations\n", in update_instance()
H A Dbpf_lsm.c123 bpf_log(vlog, in bpf_lsm_verify_prog()
129 bpf_log(vlog, "attach_btf_id %u points to disabled hook %s\n", in bpf_lsm_verify_prog()
135 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 Doffload.c822 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 Dverifier.c10711 bpf_log(log, "R%d is not a scalar\n", regno); in btf_check_func_arg_match()
10728 bpf_log(log, "arg#%d expects pointer to ctx\n", i); in btf_check_func_arg_match()
10738 bpf_log(log, "arg#%d is expected to be non-NULL\n", i); in btf_check_func_arg_match()
10750 bpf_log(log, "R%d is not a pointer to arena or scalar.\n", regno); in btf_check_func_arg_match()
24978 bpf_log(log, "Tracing programs must provide btf_id\n"); in bpf_check_attach_target()
24983 bpf_log(log, in bpf_check_attach_target()
24989 bpf_log(log, "attach_btf_id %u is invalid\n", btf_id); in bpf_check_attach_target()
24994 bpf_log(log, "attach_btf_id %u doesn't have a name\n", btf_id); in bpf_check_attach_target()
25004 bpf_log(log, "Target program bound device mismatch"); in bpf_check_attach_target()
25014 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
[all …]
/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/netfilter/
H A Dnf_conntrack_bpf.c246 bpf_log(log, "only read is supported\n"); in BTF_ID()
260 bpf_log(log, "no write support to nf_conn at off %d\n", off); in BTF_ID()
265 bpf_log(log, in BTF_ID()
/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/bpf/
H A Dbpf_dummy_struct_ops.c252 bpf_log(log, "only access to bpf_dummy_ops_state is supported\n"); in bpf_dummy_ops_btf_struct_access()
257 bpf_log(log, "write access at off %d with size %d\n", off, size); in bpf_dummy_ops_btf_struct_access()
/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__)