Ringbuf Support for Python API #2989
@yonghong-song, do you squash all those 44 commits into one when you land? I wonder if it makes sense to ask people to re-organize and squash into fewer logic commits before landing. E.g., implementation, testing and documentation commits. 44 commits are pretty unwieldy.
@anakryiko Thanks for review. I won't push these 44 commits. I indeed frequently squash them into one commit. llvm sometimes also has giant commits. I think it is okay not to put burden on the developer for already done work.
The merge request [iovisor#2989] add include <asm/page.h> in src/cc/export/helper.h for new feature in Linux 5.7, but it will cause compiling bpf program failed, since it tried to include assembly code in header file. Temporally comment out this include, maybe need to check how to fix this issue in the future.
First, thank you @willfindlay for this work.
I have one question, in TC and XDP programs, how can we send the network packet to the user space program. Using perf buffers, this was possible by using the
I'm trying to include an
In the BCC reference guide and by browsing the libbpf library, I saw that when opening a ring buffer, there is a
Could you provide help please?