-
Notifications
You must be signed in to change notification settings - Fork 7
Update vmlinux.h headers to latest Linux #7
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
Conversation
Required for struct bpf_sock_tupl and others. libbpf-rs failure example: https://github.com/libbpf/vmlinux.h/actions/runs/14366702710/job/40281267348 Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
include/aarch64/vmlinux.h
Outdated
| @@ -1 +1 @@ | |||
| vmlinux_6.6.h No newline at end of file | |||
| vmlinux_6.15-rc1.h No newline at end of file | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get rid of -rc1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I mean this is the specific version used, that's why I left the suffix.
Maybe we should use only release tags (not rcs)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched to stable (6.14.1), renamed to vmlinux_6.14.h
|
@d-e-s-o it appears that this job fails because They are absent in vmlinux.h 6.6, so we probably can simply remove them from example program, right? |
|
Ok, vmlinux.h is pinned in libbpf-rs/examples. So here is the plan:
|
Linux version: 6.14.1 (latest stable) Headers generated with ./scripts/gen-vmlinux-header.sh Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
In download-latest-linux-release.sh pick latest stable (instead of mainline) Linux source version. Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
|
libbpf-rs PR draft: libbpf/libbpf-rs#1152 (it will have to be changed to libbpf/vmlinux.h revision after this lands). libbpf-rs build passes with changed netfilter example and vmlinux.h from this PR. The linter error seems to be unrelated to my change (maybe Cargo.lock update messed things up?). arm build in libbpf-bootstrap passes too: https://github.com/libbpf/libbpf-bootstrap/actions/runs/14370042331 I think this is ready to be merged in. |
See libbpf/vmlinux.h#7 Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
See libbpf/vmlinux.h#7 Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Linux version: 6.14.1
Headers generated by
scripts/gen-vmlinux-header.shon a local machine.