bpftool icon indicating copy to clipboard operation
bpftool copied to clipboard

Skeletons: Improve support for 32-bit architectures

Open qmonnet opened this issue 2 years ago • 0 comments

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 in BPF is 64-bit. if we are working on a 32-bit machine, the generated skeleton has to compile for that machine where long is 32-bit.

More context: https://lore.kernel.org/bpf/CANk7y0joRFw2F4iAuN9r-dWWMvOmbFZz_J4rhGhgVFjdnxPTYw@mail.gmail.com/

qmonnet avatar Mar 06 '23 16:03 qmonnet