Skip to content

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Feb 12, 2025

Windows currently has no / limited BTF support. Disable the API for now.

Windows currently has no / limited BTF support. Disable the API for now.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb marked this pull request as ready for review February 17, 2025 17:36
@lmb lmb requested review from dylandreimerink and a team as code owners February 17, 2025 17:36
Copy link
Member

@dylandreimerink dylandreimerink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in general seems good. Just something I don't fully understand.

if err != nil {
t.Fatal(err)
}
defer coll.Close()
}

func TestCOREPoisonLineInfo(t *testing.T) {
testutils.SkipOnOldKernel(t, "5.0", "program ext_infos")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why this can be removed. We still have <5.0 kernels in the test matrix. Has this to do with the FORCE_BTF bit you added?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Now that we force BTF the SkipIfNotSupported below takes care of this.

@lmb lmb merged commit 868fd7f into cilium:main Feb 21, 2025
18 checks passed
@lmb lmb deleted the windows-btf branch February 21, 2025 09:59
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