-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C: Really force inline, and make it optional
With older kernel versions tail calls and BPF to BPF calls weren't supported together, so it was common to force clang to inline all functions. But we didn't do this forcibly enough, sometimes clang doesn't inline them. Add the right magic incantation to really force inlining. More recent kernel versions support mixing tail calls and BPF to BPF calls, make inlining optional for callers that want to use BPF to BPF calls.
- Loading branch information
1 parent
f2f5c51
commit 31aa294
Showing
3 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters