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

Revert "scx_rustland_core: use new consume_raw() libbpf-rs API" #183

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

arighi
Copy link
Contributor

@arighi arighi commented Mar 11, 2024

In order to use the new consume_raw() API we need to depend on a version of libbpf-rs that is not released yet.

Apparently adding such dependency may introduce a potential dependency conflict with libbpf-sys.

Therefore, revert this change and go back to the previous consume() API. One a new version of libbpf-rs will be out we can update all our dependencies to use the new libbpf-rs and re-apply this patch to scx_rustland_core.

Fixes: 7c8c5fd ("scx_rustland_core: use new consume_raw() libbpf-rs API")

In order to use the new consume_raw() API we need to depend on a version
of libbpf-rs that is not released yet.

Apparently adding such dependency may introduce a potential dependency
conflict with libbpf-sys.

Therefore, revert this change and go back to the previous consume() API.
One a new version of libbpf-rs will be out we can update all our
dependencies to use the new libbpf-rs and re-apply this patch to
scx_rustland_core.

Fixes: 7c8c5fd ("scx_rustland_core: use new consume_raw() libbpf-rs API")
Signed-off-by: Andrea Righi <[email protected]>
@htejun htejun merged commit 56a83ef into main Mar 11, 2024
1 check passed
@Byte-Lab Byte-Lab deleted the rustland-core-revert-consume-raw branch March 14, 2024 18:19
@Byte-Lab Byte-Lab restored the rustland-core-revert-consume-raw branch March 14, 2024 18:19
@Byte-Lab Byte-Lab deleted the rustland-core-revert-consume-raw branch March 14, 2024 18:20
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

Successfully merging this pull request may close these issues.

2 participants