Home
last modified time | relevance | path

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

12

/linux/samples/hid/
H A Dhid_mouse.bpf.c16 bpf_printk("event: size: %d", hctx->size); in hid_y_event()
17 bpf_printk("incoming event: %02x %02x %02x", in hid_y_event()
21 bpf_printk(" %02x %02x %02x", in hid_y_event()
25 bpf_printk(" %02x %02x %02x", in hid_y_event()
37 bpf_printk("modified event: %02x %02x %02x", in hid_y_event()
41 bpf_printk(" %02x %02x %02x", in hid_y_event()
45 bpf_printk(" %02x %02x %02x", in hid_y_event()
90 bpf_printk("rdesc: %02x %02x %02x", in BPF_PROG()
94 bpf_printk(" %02x %02x %02x", in BPF_PROG()
98 bpf_printk(" %02x %02x %02x ...", in BPF_PROG()
H A Dhid_surface_dial.bpf.c65 bpf_printk("probed/remove event ret value: %d", ret); in set_haptic()
66 bpf_printk("buf: %02x %02x %02x", in set_haptic()
70 bpf_printk(" %02x %02x %02x", in set_haptic()
74 bpf_printk(" %02x %02x", in set_haptic()
94 bpf_printk("set haptic ret value: %d -> %d", ret, haptic_data[4]); in set_haptic()
/linux/tools/testing/selftests/bpf/progs/
H A Diters.c102 bpf_printk("ITER_BASIC: E1 VAL: v=%d", *v); in iter_while_loop()
120 bpf_printk("ITER_BASIC: E1 VAL: v=%d", *v); in iter_while_loop_auto_cleanup()
138 bpf_printk("ITER_BASIC: E2 VAL: v=%d", *v); in iter_for_loop()
154 bpf_printk("ITER_BASIC: E2 VAL: v=%d", *v); in iter_bpf_for_each_macro()
169 bpf_printk("ITER_BASIC: E2 VAL: v=%d", i); in iter_bpf_for_macro()
188 bpf_printk("ITER_BASIC: E3 VAL: i=%d v=%d", i, v ? *v : -1); in iter_pragma_unroll_loop()
206 bpf_printk("ITER_BASIC: E4 VAL: v=%d", v ? *v : -1); in iter_manual_unroll_loop()
208 bpf_printk("ITER_BASIC: E4 VAL: v=%d", v ? *v : -1); in iter_manual_unroll_loop()
210 bpf_printk("ITER_BASIC: E4 VAL: v=%d", v ? *v : -1); in iter_manual_unroll_loop()
212 bpf_printk("ITER_BASI in iter_manual_unroll_loop()
[all...]
H A Duser_ringbuf_success.c48 bpf_printk("bpf_dynptr_read() failed: %d\n", status); in record_sample()
55 bpf_printk("Unexpectedly failed to get sample\n"); in record_sample()
83 bpf_printk("Unrecognized op %d\n", msg->msg_op); in handle_sample_msg()
96 bpf_printk("Unexpectedly failed to get msg\n"); in read_protocol_msg()
153 bpf_printk("%lu != %lu\n", expected_user_mutated, user_mutated); in publish_kern_messages()
171 bpf_printk("Drain returned: %ld\n", status); in test_user_ringbuf_protocol()
H A Dkfree_skb.c94 bpf_printk("rcuhead.next %llx func %llx\n", ptr, func); in BPF_PROG()
95 bpf_printk("skb->len %d users %d pkt_type %x\n", in BPF_PROG()
97 bpf_printk("skb->queue_mapping %d\n", _(skb->queue_mapping)); in BPF_PROG()
98 bpf_printk("dev->ifindex %d data %llx pkt_data %x\n", in BPF_PROG()
100 bpf_printk("cb8_0:%x cb32_0:%x\n", meta.cb8_0, meta.cb32_0); in BPF_PROG()
H A Dtest_tunnel_kern.c16 #define log_err(__ret) bpf_printk("ERROR line:%d ret:%d\n", __LINE__, __ret)
112 bpf_printk("key %d remote ip 0x%x\n", key.tunnel_id, key.remote_ipv4); in gre_get_tunnel()
153 bpf_printk("key %d remote ip6 ::%x label %x\n", in ip6gretap_get_tunnel()
221 bpf_printk("key %d remote ip 0x%x erspan version %d\n", in erspan_get_tunnel()
226 bpf_printk("\tindex %x\n", index); in erspan_get_tunnel()
228 bpf_printk("\tdirection %d hwid %x timestamp %u\n", in erspan_get_tunnel()
302 bpf_printk("ip6erspan get key %d remote ip6 ::%x erspan version %d\n", in ip4ip6erspan_get_tunnel()
307 bpf_printk("\tindex %x\n", index); in ip4ip6erspan_get_tunnel()
309 bpf_printk("\tdirection %d hwid %x timestamp %u\n", in ip4ip6erspan_get_tunnel()
420 bpf_printk("vxlan key %d local ip 0x%x remote ip 0x%x gbp 0x%x flags 0x%x\n", in vxlan_get_tunnel_src()
[all …]
H A Duser_ringbuf_fail.c35 bpf_printk("Was able to pass bad pointer %lx\n", (__u64)dynptr - 1); in bad_access1()
58 bpf_printk("Was able to pass bad pointer %lx\n", (__u64)dynptr + 1); in bad_access2()
120 bpf_printk("Read id %lu\n", id); in null_context_read()
H A Dtest_legacy_printk.c50 bpf_printk("Legacy-case bpf_printk test, pid %d\n", cur_pid); in handle_legacy()
69 bpf_printk("Modern-case bpf_printk test, pid %d\n", cur_pid); in handle_modern()
H A Dnetif_receive_skb.c74 bpf_printk("(%d) got %s", _cmp, _str); \
75 bpf_printk("(%d) expected %s", _cmp, \
114 bpf_printk("returned %d when writing skb", ret); in BPF_PROG()
122 bpf_printk("printing %llx should generate error, got (%d)", in BPF_PROG()
H A Dtimer.c354 bpf_printk("test3"); in test_pinned_timer()
412 bpf_printk("test4"); in race()
421 bpf_printk("test5"); in race()
H A Dmissed_tp_recursion.c21 bpf_printk("test"); in test1()
H A Dtest_sk_lookup.c236 bpf_printk("sk_assign returned %d, expected %d\n", in sk_assign_eexist()
269 bpf_printk("sk_assign returned %d, expected 0\n", err); in sk_assign_replace_flag()
291 bpf_printk("sk_assign returned %d, expected 0\n", err); in sk_assign_null()
300 bpf_printk("sk_assign returned %d, expected 0\n", err); in sk_assign_null()
587 bpf_printk("sk_assign returned %d, expected %d\n", in sk_assign_esocknosupport()
/linux/tools/sched_ext/
H A Dscx_qmap.bpf.c699 bpf_printk("CGRP INIT %llu weight=%u period=%lu quota=%ld burst=%lu", in BPF_STRUCT_OPS()
708 bpf_printk("CGRP SET %llu weight=%u", cgrp->kn->id, weight); in BPF_STRUCT_OPS()
715 bpf_printk("CGRP SET %llu period=%lu quota=%ld burst=%lu", in BPF_STRUCT_OPS()
755 bpf_printk("CPUS: |%s", buf); in print_cpus()
761 bpf_printk("CPU %d coming online", cpu); in BPF_STRUCT_OPS()
770 bpf_printk("CPU %d going offline", cpu); in BPF_STRUCT_OPS()
861 bpf_printk("Dumping %d tasks in SHARED_DSQ in reverse order", nr); in dump_shared_dsq()
865 bpf_printk("%s[%d]", p->comm, p->pid); in dump_shared_dsq()
884 bpf_printk("%35s: %lld", "SCX_EV_SELECT_CPU_FALLBACK", in monitor_timerfn()
886 bpf_printk("%35s: %lld", "SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE", in monitor_timerfn()
[all …]
/linux/samples/bpf/
H A Dibumad_kern.c35 #undef bpf_printk
36 #define bpf_printk(fmt, ...) macro
83 bpf_printk("ib_umad read recv : class 0x%x\n", class); in on_ib_umad_read_recv()
103 bpf_printk("ib_umad read send : class 0x%x\n", class); in on_ib_umad_read_send()
123 bpf_printk("ib_umad write : class 0x%x\n", class); in on_ib_umad_write()
H A Dhbm_kern.h33 #undef bpf_printk
34 #define bpf_printk(fmt, ...) macro
137 bpf_printk("Initializing queue_state, rate:%d\n", rate * 128); in hbm_init_vqueue()
149 bpf_printk("Initializing queue_state, rate:%d\n", rate * 128); in hbm_init_edt_vqueue()
H A Dtcp_synrto_kern.c42 bpf_printk("BPF command: %d\n", op); in bpf_synrto()
59 bpf_printk("Returning %d\n", rv); in bpf_synrto()
H A Dtcp_rwnd_kern.c42 bpf_printk("BPF command: %d\n", op); in bpf_rwnd()
59 bpf_printk("Returning %d\n", rv); in bpf_rwnd()
H A Dtcp_basertt_kern.c35 bpf_printk("BPF command: %d\n", op); in bpf_basertt()
66 bpf_printk("Returning %d\n", rv); in bpf_basertt()
H A Dtcp_cong_kern.c43 bpf_printk("BPF command: %d\n", op); in bpf_cong()
73 bpf_printk("Returning %d\n", rv); in bpf_cong()
H A Dtcp_bufs_kern.c45 bpf_printk("Returning %d\n", rv); in bpf_bufs()
76 bpf_printk("Returning %d\n", rv); in bpf_bufs()
H A Dtcp_dumpstats_kern.c62 bpf_printk("dsack_dups=%u delivered=%u\n", in _sockops()
64 bpf_printk("delivered_ce=%u icsk_retransmits=%u\n", in _sockops()
H A Dtcp_iw_kern.c46 bpf_printk("BPF command: %d\n", op); in bpf_iw()
78 bpf_printk("Returning %d\n", rv); in bpf_iw()
H A Dtcp_clamp_kern.c45 bpf_printk("BPF command: %d\n", op); in bpf_clamp()
92 bpf_printk("Returning %d\n", rv); in bpf_clamp()
H A Dtcp_tos_reflect_kern.c38 bpf_printk("BPF command: %d\n", op); in bpf_basertt()
75 bpf_printk("Returning %d\n", rv); in bpf_basertt()
/linux/tools/testing/selftests/sched_ext/
H A Dpeek_dsq.bpf.c119 bpf_printk("peek_dsq_enqueue beginning phase 1 peek test on cpu %d", cpu); in BPF_STRUCT_OPS()
150 bpf_printk("peek_dsq_dispatch completing phase 1 peek test on cpu %d", cpu); in BPF_STRUCT_OPS()
163 bpf_printk("Phase 1 complete, starting phase 2 stress testing"); in BPF_STRUCT_OPS()

12