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

prog_test: compare BTF program tags instead of raw insns #583

Merged
merged 1 commit into from Feb 23, 2022

Conversation

ti-mo
Copy link
Collaborator

@ti-mo ti-mo commented Feb 23, 2022

To prepare for Instruction no longer being comparable, remove the only test that directly compares Instructions. Comparing instruction streams should be done using Instructions.Tag().

Re-introduce a map load as in 9c06a48, as it was removed to avoid having to overwrite the map fd with an id in xlated insns.

cc @dylandreimerink @lmb

To prepare for Instruction no longer being comparable, remove the only test
that directly compares Instructions. Comparing instruction streams should be
done using Instructions.Tag().

Re-introduce a map load as in 9c06a48, as it
was removed to avoid having to overwrite the map fd with an id in xlated insns.

Signed-off-by: Timo Beckers <timo@isovalent.com>
@ti-mo ti-mo merged commit ba2072b into cilium:master Feb 23, 2022
@ti-mo ti-mo deleted the tb/prog-test-xlated-tag branch February 23, 2022 13:18
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.

None yet

1 participant