| /tools/testing/selftests/bpf/progs/ |
| A D | iters.c | 102 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() 229 bpf_printk("ITER_BASIC: E1 VAL: v=%d", *v); in iter_multiple_sequential_loops() 235 bpf_printk("ITER_BASIC: E2 VAL: v=%d", *v); in iter_multiple_sequential_loops() 281 bpf_printk("ITER_SIMPLE: sum=%d\n", sum); in iter_limit_cond_break_loop() 343 bpf_printk("ITER_SEARCH_LOOP: v=%d", *v); in iter_search_loop() 720 bpf_printk("sum1=%d, sum2=%d", sum1, sum2); in iter_pass_iter_ptr_to_subprog() [all …]
|
| A D | user_ringbuf_success.c | 48 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()
|
| A D | kfree_skb.c | 94 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()
|
| A D | test_tunnel_kern.c | 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() 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() 574 bpf_printk("local_ip 0x%x\n", *local_ip); in ip6vxlan_get_tunnel_src() 643 bpf_printk("key %d remote ip 0x%x geneve class 0x%x\n", in geneve_get_tunnel() 705 bpf_printk("key %d remote ip 0x%x geneve class 0x%x\n", in ip6geneve_get_tunnel() 752 bpf_printk("remote ip 0x%x\n", key.remote_ipv4); in ipip_get_tunnel() [all …]
|
| A D | test_legacy_printk.c | 50 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()
|
| A D | user_ringbuf_fail.c | 35 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()
|
| A D | netif_receive_skb.c | 74 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()
|
| A D | missed_tp_recursion.c | 21 bpf_printk("test"); in test1()
|
| A D | trace_vprintk.c | 26 bpf_printk("\t"); in sys_enter()
|
| A D | timer.c | 323 bpf_printk("test3"); in BPF_PROG2() 381 bpf_printk("test4"); in BPF_PROG2() 390 bpf_printk("test5"); in BPF_PROG2()
|
| A D | test_sk_lookup.c | 236 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()
|
| A D | xdp_redirect_map.c | 101 bpf_printk("%s - %x", __func__, mac); in store_mac()
|
| A D | bpf_arena_spin_lock.h | 168 bpf_printk("RUNTIME ERROR: %s unexpected cond_break exit!!!", __func__); in xchg_tail() 224 bpf_printk("RUNTIME ERROR: %s unexpected cond_break exit!!!", __func__); in arena_fetch_set_pending_acquire()
|
| A D | preempt_lock.c | 150 bpf_printk("%p", &i); in global_subprog()
|
| A D | test_sk_lookup_kern.c | 75 bpf_printk("sk=%d\n", sk ? 1 : 0); in sk_lookup_success()
|
| A D | test_spin_lock_fail.c | 252 bpf_printk("%p", &i); in global_subprog_int()
|
| A D | irq.c | 451 bpf_printk("%p", &i); in global_subprog()
|
| A D | cpumask_success.c | 230 bpf_printk("first zero: %d", bpf_cpumask_first_zero(cast(cpumask))); in BPF_PROG()
|
| /tools/sched_ext/ |
| A D | scx_qmap.bpf.c | 674 bpf_printk("CPUS: |%s", buf); in print_cpus() 679 bpf_printk("CPU %d coming online", cpu); in BPF_STRUCT_OPS() 686 bpf_printk("CPU %d going offline", cpu); in BPF_STRUCT_OPS() 780 bpf_printk("%s[%d]", p->comm, p->pid); in dump_shared_dsq() 799 bpf_printk("%35s: %lld", "SCX_EV_SELECT_CPU_FALLBACK", in monitor_timerfn() 803 bpf_printk("%35s: %lld", "SCX_EV_DISPATCH_KEEP_LAST", in monitor_timerfn() 805 bpf_printk("%35s: %lld", "SCX_EV_ENQ_SKIP_EXITING", in monitor_timerfn() 807 bpf_printk("%35s: %lld", "SCX_EV_REFILL_SLICE_DFL", in monitor_timerfn() 809 bpf_printk("%35s: %lld", "SCX_EV_BYPASS_DURATION", in monitor_timerfn() 811 bpf_printk("%35s: %lld", "SCX_EV_BYPASS_DISPATCH", in monitor_timerfn() [all …]
|
| A D | README.md | 108 bpf_printk("Task %s enabled in example scheduler", p->comm);
|
| /tools/testing/selftests/sched_ext/ |
| A D | maybe_null_fail_yld.bpf.c | 18 bpf_printk("Yielding to %s[%d]", to->comm, to->pid); in BPF_STRUCT_OPS()
|
| A D | maybe_null.bpf.c | 25 bpf_printk("Yielding to %s[%d]", to->comm, to->pid); in BPF_STRUCT_OPS()
|
| /tools/testing/selftests/net/lib/ |
| A D | xdp_native.bpf.c | 352 bpf_printk("Failed to adjust tail\n"); in xdp_adjst_tail_grow_data() 557 bpf_printk("Invalid adjustment offset: %d\n", *val); in xdp_head_adjst()
|
| /tools/lib/bpf/ |
| A D | bpf_helpers.h | 344 #define bpf_printk(fmt, args...) ___bpf_pick_printk(args)(fmt, ##args) macro
|