Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dtracex1.bpf.c40 bpf_trace_printk(fmt, sizeof(fmt), skb, len); in bpf_prog1()
H A Dparse_varlen.c44 bpf_trace_printk(fmt, sizeof(fmt)); in udp()
H A Dtest_lwt_bpf.c21 bpf_trace_printk(____fmt, sizeof(____fmt), \
H A Dmap_perf_test.bpf.c243 bpf_trace_printk(fmt, sizeof(fmt), ret); in BPF_KSYSCALL()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A Dtrace_printk.c19 trace_printk_ret = bpf_trace_printk(fmt, sizeof(fmt), in sys_enter()
H A Dtest_xdp_devmap_helpers.c16 bpf_trace_printk(fmt, sizeof(fmt), in xdpdm_devlog()
H A Duninit_stack.c82 : __imm(bpf_trace_printk), in helper_uninit_to_misc()
H A Ddev_cgroup.c41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor); in bpf_prog1()
H A Dtest_xdp_with_devmap_helpers.c38 bpf_trace_printk(fmt, sizeof(fmt), in xdp_dummy_dm()
H A Dverifier_movsx.c220 : __imm(bpf_trace_printk) in mov64sx_s16_r10()
H A Dverifier_unpriv.c172 : __imm(bpf_trace_printk) in check_that_printk_is_disallowed()
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dbench_uprobe.bpf.c19 bpf_trace_printk(fmt, sizeof(fmt), ++nr_uprobes); in BPF_UPROBE()
/openbmc/linux/kernel/trace/
H A Dbpf_trace.h11 TRACE_EVENT(bpf_trace_printk,
H A Dbpf_trace.c371 BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1, in BPF_CALL_5() argument
396 .func = bpf_trace_printk,
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A 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
H A Dbpftool-feature.rst42 **bpf_probe_write_user**\ () and **bpf_trace_printk**\()
/openbmc/linux/tools/lib/bpf/
H A Dbpf_helpers.h265 bpf_trace_printk(____fmt, sizeof(____fmt), \
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dprintk-formats.rst149 在BPF的bpf_trace_printk()之外使用时,它会读取它所指向的内存,不会出现错误。
/openbmc/linux/Documentation/core-api/
H A Dprintk-formats.rst152 and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),