eBPF support for loops and debugging in Android?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

eBPF support for loops and debugging in Android?

Yiannis Y.

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,

You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/6a83eaa8-4e57-4904-8d0e-9637738098b4o%40googlegroups.com.