-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btf: tracepoint: Prefer BTF data if available
Before, if a tracepoint argument was accessed, bpftrace would prefer using headers instead of BTF. This causes some friction for users/hosts that don't have headers installed. They would have to pass in --btf to override the default headers behavior. This commit makes BTF the default if it's available. Now, users don't need to pass in --btf.
- Loading branch information
Showing
2 changed files
with
3 additions
and
1 deletion.
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