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: John Fastabend <john.fastabend@gmail.com>
Date: 2021-07-08 20:42:35
Also in: bpf

Alexei Starovoitov wrote:
On Wed, Jul 7, 2021 at 3:39 PM John Fastabend [off-list ref] wrote:
quoted
-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.
Thanks! I had the printk there to verify the code was actually
being run, but forgot to remove it before submitting.
I verified that I saw the spam before removing it.
Great.
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