odigos-io / opentelemetry-go-instrumentation

OpenTelemetry auto-instrumentation for Go applications
Apache License 2.0
292 stars 44 forks source link

Include bpf headers #25

Closed ocampeau closed 2 years ago

ocampeau commented 2 years ago

What type of this PR

Examples of user facing changes:

This PR adds the bpf header files into an include directory at the root of the project. It also modifies the go generate command to use an environment variable (defined in the makefile) for all cflags. It will make it easier I believe to add C header file without modifying each probe files.

Which issue(s) this PR fixes:

Fixes #24

/kind feature

ocampeau commented 2 years ago

/kind feature

edeNFed commented 2 years ago

lgtm Thanks for the contribution!