Skip to content

Commit

Permalink
Fix offset guess test
Browse files Browse the repository at this point in the history
  • Loading branch information
hmahmood committed Dec 20, 2024
1 parent b2c7762 commit 507d869
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/network/tracer/offsetguess_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ import (
"testing"
"time"

manager "github.com/DataDog/ebpf-manager"
"github.com/cilium/ebpf"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/sys/unix"

manager "github.com/DataDog/ebpf-manager"

"github.com/DataDog/datadog-agent/pkg/ebpf/bytecode/runtime"
"github.com/DataDog/datadog-agent/pkg/ebpf/ebpftest"
"github.com/DataDog/datadog-agent/pkg/ebpf/maps"
Expand All @@ -38,7 +37,7 @@ import (
//go:generate $GOPATH/bin/include_headers pkg/network/ebpf/c/runtime/offsetguess-test.c pkg/ebpf/bytecode/build/runtime/offsetguess-test.c pkg/ebpf/c pkg/ebpf/c/protocols pkg/network/ebpf/c/runtime pkg/network/ebpf/c
//go:generate $GOPATH/bin/integrity pkg/ebpf/bytecode/build/runtime/offsetguess-test.c pkg/ebpf/bytecode/runtime/offsetguess-test.go runtime

type offsetT int
type offsetT uint32

const (
offsetSaddr offsetT = iota
Expand Down

0 comments on commit 507d869

Please sign in to comment.