Skip to content

Conversation

@alan-maguire
Copy link
Member

on some systems BPF Type Format (BTF) info is not available. Because we make extensive use of it, we need a separate set of BPF programs that work in a "no BTF" world; these cannot make use of Compile Once - Run Everywhere (CO-RE) relocations, so data structure offsets may be wrong for the running kernel, so warn the user.

Tuners cannot be supported in this mode because the likeliehood of such issues is nearly 100%; warn the user about this.

Reported-by: Stuart Shelton https://github.com/srcshelton

on some systems BPF Type Format (BTF) info is not available.  Because
we make extensive use of it, we need a separate set of BPF programs that
work in a "no BTF" world; these cannot make use of Compile Once - Run
Everywhere (CO-RE) relocations, so data structure offsets may be wrong
for the running kernel, so warn the user.

Tuners cannot be supported in this mode because the likeliehood of such
issues is nearly 100%; warn the user about this.

Reported-by: Stuart Shelton <https://github.com/srcshelton>
Signed-off-by: Alan Maguire <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 21, 2023
@alan-maguire alan-maguire merged commit 06f59c1 into main Aug 21, 2023
@alan-maguire alan-maguire deleted the nobtf branch December 2, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant