Home
last modified time | relevance | path

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

/Linux-v6.1/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.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_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()
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.c249 bpf_trace_printk(fmt, sizeof(fmt), ret); in SYSCALL()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
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()
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-v6.1/kernel/trace/
Dbpf_trace.h11 TRACE_EVENT(bpf_trace_printk,
Dbpf_trace.c376 BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1, in BPF_CALL_5() argument
402 .func = bpf_trace_printk,
/Linux-v6.1/tools/perf/tests/
Dbpf-script-test-prologue.c26 static void (*bpf_trace_printk)(const char *fmt, int fmt_size, ...) = variable
/Linux-v6.1/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst172 trace pipe at runtime with the **bpf_trace_printk**\ () helper.
243 of the loader program will use the **bpf_trace_printk**\ ()
360 bpftool-620059 [004] d... 2634685.517903: bpf_trace_printk: btf_load size 665 r=5
361 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…
362 bpftool-620059 [004] d... 2634685.517997: bpf_trace_printk: prog_load sample insn_cnt 13 r=7
363 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.1/tools/lib/bpf/
Dbpf_helpers.h255 bpf_trace_printk(____fmt, sizeof(____fmt), \
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst149 在BPF的bpf_trace_printk()之外使用时,它会读取它所指向的内存,不会出现错误。
/Linux-v6.1/Documentation/core-api/
Dprintk-formats.rst151 and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),