Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skeletons: Improve support for 32-bit architectures #80

Open
qmonnet opened this issue Mar 6, 2023 · 0 comments
Open

Skeletons: Improve support for 32-bit architectures #80

qmonnet opened this issue Mar 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@qmonnet
Copy link
Member

qmonnet commented Mar 6, 2023

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 qmonnet added the enhancement New feature or request label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant