-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tracer auto-generated bpf to repo (arm64)
- Loading branch information
Showing
5 changed files
with
986 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,9 +27,13 @@ const ( | |
|
||
// TODO: cilium/ebpf does not support .kconfig Therefore; for now, we build object files per kernel version. | ||
|
||
//go:generate go run github.com/cilium/ebpf/cmd/[email protected] -target $BPF_TARGET -cflags $BPF_CFLAGS -type tls_chunk -type goid_offsets Tracer ../../bpf/tracer.c | ||
//go:generate go run github.com/cilium/ebpf/cmd/[email protected] -target amd64 -cflags $BPF_CFLAGS -type tls_chunk -type goid_offsets Tracer ../../bpf/tracer.c | ||
|
||
//go:generate go run github.com/cilium/ebpf/cmd/[email protected] -target $BPF_TARGET -cflags "${BPF_CFLAGS} -DKERNEL_BEFORE_4_6" -type tls_chunk -type goid_offsets Tracer46 ../../bpf/tracer.c | ||
//go:generate go run github.com/cilium/ebpf/cmd/[email protected] -target arm64 -cflags $BPF_CFLAGS -type tls_chunk -type goid_offsets Tracer ../../bpf/tracer.c | ||
|
||
//go:generate go run github.com/cilium/ebpf/cmd/[email protected] -target amd64 -cflags "${BPF_CFLAGS} -DKERNEL_BEFORE_4_6" -type tls_chunk -type goid_offsets Tracer46 ../../bpf/tracer.c | ||
|
||
//go:generate go run github.com/cilium/ebpf/cmd/[email protected] -target arm64 -cflags "${BPF_CFLAGS} -DKERNEL_BEFORE_4_6" -type tls_chunk -type goid_offsets Tracer46 ../../bpf/tracer.c | ||
|
||
type BpfObjectsImpl struct { | ||
bpfObjs interface{} | ||
|
Oops, something went wrong.