Skip to content

Commit

Permalink
Fix ebpf/tracer.ebpf.x86 -> ebpf/tracer.ebpf.amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
rockdaboot committed Jul 15, 2024
1 parent cbc100c commit 961e8ee
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ ebpf:

lint: generate
# We don't want to build the tracers here, so we stub them for linting
touch support/ebpf/tracer.ebpf.x86
touch support/ebpf/tracer.ebpf.$(NATIVE_ARCH)
golangci-lint run --timeout 10m

test: generate ebpf test-deps
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion support/ebpf_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

// TestEbpf is a simplified version of the profiling agent.
// It takes the same eBPF ELF file (from ebpf/tracer.ebpf.x86)
// It takes the same eBPF ELF file (from ebpf/tracer.ebpf.*)
// and loads it into the kernel. With this test, we can make sure,
// our eBPF code is loaded correctly and not rejected by the kernel.
// As this tests uses the BPF syscall, it is protected by the build tag integration.
Expand Down
2 changes: 1 addition & 1 deletion support/support_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import (
_ "embed"
)

//go:embed ebpf/tracer.ebpf.x86
//go:embed ebpf/tracer.ebpf.amd64
var tracerData []byte

0 comments on commit 961e8ee

Please sign in to comment.