eBPF support for loops and debugging in Android?

57 views
Skip to first unread message

Yiannis Y.

unread,
Jul 22, 2020, 11:06:38 AM7/22/20
to android-platform
Hi,

I am experimenting with the eBPF networking stack in Android and have a couple questions. 

- Is the #pragma unroll directive for loops supported? I get a (loop not unrolled) error when I try to add a for loop with given bounds. 
- Are there any pointers for debugging eBPF code in the emulator? I couldn't find the bpftool, and bpf_trace_printk doesn't seem to work either. 

Thanks much,
Yiannis
Reply all
Reply to author
Forward
0 new messages