Home
last modified time | relevance | path

Searched refs:bpf_trace_printk (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.6/samples/bpf/
Dtracex5.bpf.c40 bpf_trace_printk(fmt, sizeof(fmt), sc_nr); in bpf_prog1()
53 bpf_trace_printk(fmt, sizeof(fmt), in PROG()
66 bpf_trace_printk(fmt, sizeof(fmt), in PROG()
77 bpf_trace_printk(fmt, sizeof(fmt)); in PROG()
87 bpf_trace_printk(fmt, sizeof(fmt)); in PROG()
Dtrace_event_kern.c57 bpf_trace_printk(fmt, sizeof(fmt), cpu, ctx->sample_period, in bpf_prog1()
64 bpf_trace_printk(time_fmt1, sizeof(time_fmt1), value_buf.enabled, value_buf.running); in bpf_prog1()
66 bpf_trace_printk(time_fmt2, sizeof(time_fmt2), ret); in bpf_prog1()
69 bpf_trace_printk(addr_fmt, sizeof(addr_fmt), ctx->addr); in bpf_prog1()
Dsock_flags.bpf.c15 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog1()
16 bpf_trace_printk(fmt2, sizeof(fmt2), uid, gid); in bpf_prog1()
34 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog2()
Dtest_cgrp2_tc.bpf.c44 bpf_trace_printk(dont_care_msg, sizeof(dont_care_msg), in handle_egress()
48 bpf_trace_printk(pass_msg, sizeof(pass_msg)); in handle_egress()
51 bpf_trace_printk(reject_msg, sizeof(reject_msg)); in handle_egress()
Dtc_l2_redirect_kern.c86 bpf_trace_printk(fmt4, sizeof(fmt4), *ifindex, in _l2_to_iptun_ingress_forward()
100 bpf_trace_printk(fmt6, sizeof(fmt6), *ifindex, in _l2_to_iptun_ingress_forward()
138 bpf_trace_printk(fmt4, sizeof(fmt4), _htonl(daddr), *ifindex); in _l2_to_iptun_ingress_redirect()
176 bpf_trace_printk(fmt4, sizeof(fmt4), _htonl(iph->daddr), in _l2_to_ip6tun_ingress_redirect()
188 bpf_trace_printk(fmt6, sizeof(fmt6), in _l2_to_ip6tun_ingress_redirect()
Dtracex1.bpf.c40 bpf_trace_printk(fmt, sizeof(fmt), skb, len); in bpf_prog1()
Dparse_varlen.c44 bpf_trace_printk(fmt, sizeof(fmt)); in udp()
Dtest_lwt_bpf.c21 bpf_trace_printk(____fmt, sizeof(____fmt), \
Dmap_perf_test.bpf.c243 bpf_trace_printk(fmt, sizeof(fmt), ret); in BPF_KSYSCALL()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dverifier_helper_value_access.c111 __imm(bpf_trace_printk), in access_to_map_empty_range()
242 __imm(bpf_trace_printk), in via_const_imm_empty_range()
408 __imm(bpf_trace_printk), in via_const_reg_empty_range()
579 __imm(bpf_trace_printk), in map_via_variable_empty_range()
Dtrace_printk.c19 trace_printk_ret = bpf_trace_printk(fmt, sizeof(fmt), in sys_enter()
Dtest_xdp_devmap_helpers.c16 bpf_trace_printk(fmt, sizeof(fmt), in xdpdm_devlog()
Duninit_stack.c82 : __imm(bpf_trace_printk), in helper_uninit_to_misc()
Ddev_cgroup.c41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor); in bpf_prog1()
Dtest_xdp_with_devmap_helpers.c38 bpf_trace_printk(fmt, sizeof(fmt), in xdp_dummy_dm()
Dverifier_movsx.c220 : __imm(bpf_trace_printk) in mov64sx_s16_r10()
Dverifier_unpriv.c172 : __imm(bpf_trace_printk) in check_that_printk_is_disallowed()
/Linux-v6.6/tools/perf/util/bpf_skel/
Dbench_uprobe.bpf.c19 bpf_trace_printk(fmt, sizeof(fmt), ++nr_uprobes); in BPF_UPROBE()
/Linux-v6.6/kernel/trace/
Dbpf_trace.h11 TRACE_EVENT(bpf_trace_printk,
Dbpf_trace.c368 BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1, in BPF_CALL_5() argument
393 .func = bpf_trace_printk,
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst184 trace pipe at runtime with the **bpf_trace_printk**\ () helper.
255 of the loader program will use the **bpf_trace_printk**\ ()
372 bpftool-620059 [004] d... 2634685.517903: bpf_trace_printk: btf_load size 665 r=5
373 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…
374 bpftool-620059 [004] d... 2634685.517997: bpf_trace_printk: prog_load sample insn_cnt 13 r=7
375 bpftool-620059 [004] d... 2634685.517999: bpf_trace_printk: close(5) = 0
Dbpftool-feature.rst42 **bpf_probe_write_user**\ () and **bpf_trace_printk**\()
/Linux-v6.6/tools/lib/bpf/
Dbpf_helpers.h265 bpf_trace_printk(____fmt, sizeof(____fmt), \
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst149 在BPF的bpf_trace_printk()之外使用时,它会读取它所指向的内存,不会出现错误。
/Linux-v6.6/Documentation/core-api/
Dprintk-formats.rst152 and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),