Quentin Monnet

Results 67 issues of Quentin Monnet

> If a bpf program has a global variable of type: long, its skeleton will include a bss map that will have a field for this variable. The long variable...

enhancement

Context: https://lore.kernel.org/all/CAEf4BzZMJGrRhNeQeWB0fRsuRYUv01aZGhvDeFV2o5zdpRbR-w@mail.gmail.com/ https://lore.kernel.org/bpf/CAEf4BzaFu_qFvwtE-=WLWM2YUirq5fKbbTGXVeNiqrARdLj+Vg@mail.gmail.com/T/#m01ccd9c263415fcabafbf831aefe7877312b2f48

enhancement

Someone reported an issue with binutils 2.40 (released mid-January 2023). Reference: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:B/bpftool/standard/x86_64 ``` [ 77s] gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wno-system-headers...

bug

Add a GitHub workflow to build and publish a new image (likely to ghcr.io) on pushes to the `master` branch, so that users can pull it directly.

enhancement

`bpftool btf dump file /sys/kernel/btf/` is valid, but not documented in `man bpftool-btf`. The document only mentions that `When specifying FILE, an ELF file is expected [...]`. Documentation should be...

documentation

Command `bpftool perf list` does not display all perf-related programs. It doesn't show programs attached through BPF links, only those that have an open FD. This should be documented. In...

documentation

Support dumping BPF maps faster by using batch map processing when possible.

enhancement

I don't think bpftool supports this at the moment.

enhancement

I've not checked whether bpftool can dump a map protected by a spinlock, but I suspect it cannot (`BPF_F_LOCK` is likely required?). We should check and make it possible if...

enhancement

We could add an option to dump inner maps when dumping an outer map-of-map with bpftool.

enhancement