Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dtracex5_kern.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.c58 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()
Dsock_flags_kern.c17 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()
Dtest_cgrp2_tc_kern.c58 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()
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_kern.c47 bpf_trace_printk(fmt, sizeof(fmt), skb, len); in bpf_prog1()
Dlwt_len_hist_kern.c22 bpf_trace_printk(____fmt, sizeof(____fmt), \
Dparse_varlen.c44 bpf_trace_printk(fmt, sizeof(fmt)); in udp()
Dtest_lwt_bpf.c29 bpf_trace_printk(____fmt, sizeof(____fmt), \
Dmap_perf_test_kern.c237 bpf_trace_printk(fmt, sizeof(fmt), ret); in SYSCALL()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c27 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 …]
Dtrace_printk.c18 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()
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()
/Linux-v5.10/kernel/trace/
Dbpf_trace.h11 TRACE_EVENT(bpf_trace_printk,
Dbpf_trace.c428 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/
Dbpf-script-test-prologue.c26 static void (*bpf_trace_printk)(const char *fmt, int fmt_size, ...) = variable
/Linux-v5.10/tools/lib/bpf/
Dbpf_helpers.h21 bpf_trace_printk(____fmt, sizeof(____fmt), \
/Linux-v5.10/tools/bpf/bpftool/Documentation/
Dbpftool-feature.rst36 **bpf_probe_write_user**\ () and **bpf_trace_printk**\()
Dbpftool-prog.rst164 trace pipe at runtime with the **bpf_trace_printk**\ () helper.
/Linux-v5.10/Documentation/core-api/
Dprintk-formats.rst128 and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),