generated from honeycombio/.github
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint: Detect BTF support and disable for local dev (#61)
## Which problem is this PR solving? Updates our generate makefile target to detect if the builder supports BTF and if not disables. This means we can remove the mac-* targets and Dockerfile.mac file. Also includes a small update to the generated go files to remove the old `+build` directives after running `docker-generate`. ## Short description of the changes - Update Makefile to detect if BTF is support, if not sets `BPF_NO_PRESERVE_ACCESS_INDEX` env var used to generate go files from probe - Remove mac specific Makefile targets - Remove Dockerfile.mac file ## How to verify that this has the expected result Can build and run the agent locally by using `docker-build`.
- Loading branch information
1 parent
b4a5bf4
commit f3e2429
Showing
5 changed files
with
7 additions
and
34 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 was deleted.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.