Skip to content

Comments

btf: disable handle API on windows#1678

Merged
lmb merged 1 commit intocilium:mainfrom
lmb:windows-btf
Feb 21, 2025
Merged

btf: disable handle API on windows#1678
lmb merged 1 commit intocilium:mainfrom
lmb:windows-btf

Conversation

@lmb
Copy link
Contributor

@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 <[email protected]>
@lmb lmb marked this pull request as ready for review February 17, 2025 17:36
@lmb lmb requested review from a team and dylandreimerink 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.

}

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
Contributor 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