While working on it, I noticed that we miss the bpf_ringbuf_query in src/cc/frontends/clang/b_frontend_action.cc so it's actually not possible for an user to use bpf_ringbuf_query in BCC.
Once that is done, the Python wrapper will need to be updated too.
The 5.8
BPF_MAP_TYPE_RINGBUF
helpers have been recentely added to BCC by https://github.com/iovisor/bcc/pull/2969 and https://github.com/iovisor/bcc/pull/2989 .While working on it, I noticed that we miss the
bpf_ringbuf_query
insrc/cc/frontends/clang/b_frontend_action.cc
so it's actually not possible for an user to usebpf_ringbuf_query
in BCC.Once that is done, the Python wrapper will need to be updated too.
I will look into contributing this.