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

miss batch method #71

Open
hsqStephenZhang opened this issue Nov 17, 2021 · 5 comments
Open

miss batch method #71

hsqStephenZhang opened this issue Nov 17, 2021 · 5 comments

Comments

@hsqStephenZhang
Copy link

i found that kernel code has been supporting bpf batch update for a while, and i found bpf_map_update_batch and other methods in iovisor/bcc, when using objdump to locate symbol in the libbcc, i also find symbols which contain 'batch'
objdump -S usr/lib/libbcc.so | grep batch

@hsqStephenZhang
Copy link
Author

bcc has released v0.23.0

@hsqStephenZhang
Copy link
Author

i found the missing functions are not declared in the libbpf.h, but in libbpf.c

@hsqStephenZhang
Copy link
Author

i commit one patch into bcc, adding the batch methods into libbpf.h, so bindgen can generate correct batch methods will the newest libbpf.h

@brayniac
Copy link
Contributor

We only generate bindings for released versions of bcc, so if your change is going to be in 0.24.0, that would be the soonest we will support it in this crate.

@hsqStephenZhang
Copy link
Author

hsqStephenZhang commented Nov 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants