Thread (5 messages) flat view 5 messages, 2 authors, 2021-07-08

Re: [PATCH bpf v2 2/2] bpf: selftest to verify mixing bpf2bpf calls and tailcalls with insn patch

From: Alexei Starovoitov <hidden>
Date: 2021-07-08 04:05:19
Also in: bpf

On Wed, Jul 7, 2021 at 3:39 PM John Fastabend [off-list ref] wrote:
-static volatile int count;
+int count = 0;
+int noise = 0;
+
+__always_inline int subprog_noise(void)
+{
+       __u32 key = 0;
+
+       bpf_printk("hello noisy subprog %d\n", key);
+       bpf_map_lookup_elem(&nop_table, &key);
+       return 0;
+}
This selftest patch I had to apply manually due to conflicts.
I've also removed the noisy printk before pushing.
I verified that I saw the spam before removing it.
The patch 1 looks great. Thanks a lot for the fix.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help