/Linux-v5.10/samples/bpf/ |
D | tracex5_kern.c | 40 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()
|
D | trace_event_kern.c | 58 bpf_trace_printk(fmt, sizeof(fmt), cpu, ctx->sample_period, in bpf_prog1() 65 bpf_trace_printk(time_fmt1, sizeof(time_fmt1), value_buf.enabled, value_buf.running); in bpf_prog1() 67 bpf_trace_printk(time_fmt2, sizeof(time_fmt2), ret); in bpf_prog1() 70 bpf_trace_printk(addr_fmt, sizeof(addr_fmt), ctx->addr); in bpf_prog1()
|
D | sock_flags_kern.c | 17 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog1() 18 bpf_trace_printk(fmt2, sizeof(fmt2), uid, gid); in bpf_prog1() 36 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog2()
|
D | test_cgrp2_tc_kern.c | 58 bpf_trace_printk(dont_care_msg, sizeof(dont_care_msg), in handle_egress() 62 bpf_trace_printk(pass_msg, sizeof(pass_msg)); in handle_egress() 65 bpf_trace_printk(reject_msg, sizeof(reject_msg)); in handle_egress()
|
D | tc_l2_redirect_kern.c | 86 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()
|
D | tracex1_kern.c | 47 bpf_trace_printk(fmt, sizeof(fmt), skb, len); in bpf_prog1()
|
D | lwt_len_hist_kern.c | 22 bpf_trace_printk(____fmt, sizeof(____fmt), \
|
D | parse_varlen.c | 44 bpf_trace_printk(fmt, sizeof(fmt)); in udp()
|
D | test_lwt_bpf.c | 29 bpf_trace_printk(____fmt, sizeof(____fmt), \
|
D | map_perf_test_kern.c | 237 bpf_trace_printk(fmt, sizeof(fmt), ret); in SYSCALL()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 27 bpf_trace_printk(fmt, sizeof(fmt), __LINE__, ret); \ 81 bpf_trace_printk(fmt, sizeof(fmt), key.tunnel_id, key.remote_ipv4); in _gre_get_tunnel() 123 bpf_trace_printk(fmt, sizeof(fmt), in _ip6gretap_get_tunnel() 193 bpf_trace_printk(fmt, sizeof(fmt), in _erspan_get_tunnel() 200 bpf_trace_printk(fmt2, sizeof(fmt2), index); in _erspan_get_tunnel() 204 bpf_trace_printk(fmt2, sizeof(fmt2), in _erspan_get_tunnel() 279 bpf_trace_printk(fmt, sizeof(fmt), in _ip4ip6erspan_get_tunnel() 286 bpf_trace_printk(fmt2, sizeof(fmt2), index); in _ip4ip6erspan_get_tunnel() 290 bpf_trace_printk(fmt2, sizeof(fmt2), in _ip4ip6erspan_get_tunnel() 349 bpf_trace_printk(fmt, sizeof(fmt), in _vxlan_get_tunnel() [all …]
|
D | trace_printk.c | 18 trace_printk_ret = bpf_trace_printk(fmt, sizeof(fmt), in sys_enter()
|
D | test_xdp_devmap_helpers.c | 16 bpf_trace_printk(fmt, sizeof(fmt), in xdpdm_devlog()
|
D | dev_cgroup.c | 41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor); in bpf_prog1()
|
D | test_xdp_with_devmap_helpers.c | 38 bpf_trace_printk(fmt, sizeof(fmt), in xdp_dummy_dm()
|
/Linux-v5.10/kernel/trace/ |
D | bpf_trace.h | 11 TRACE_EVENT(bpf_trace_printk,
|
D | bpf_trace.c | 428 BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1, in BPF_CALL_5() argument 560 .func = bpf_trace_printk,
|
/Linux-v5.10/tools/perf/tests/ |
D | bpf-script-test-prologue.c | 26 static void (*bpf_trace_printk)(const char *fmt, int fmt_size, ...) = variable
|
/Linux-v5.10/tools/lib/bpf/ |
D | bpf_helpers.h | 21 bpf_trace_printk(____fmt, sizeof(____fmt), \
|
/Linux-v5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-feature.rst | 36 **bpf_probe_write_user**\ () and **bpf_trace_printk**\()
|
D | bpftool-prog.rst | 164 trace pipe at runtime with the **bpf_trace_printk**\ () helper.
|
/Linux-v5.10/Documentation/core-api/ |
D | printk-formats.rst | 128 and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),
|