Skip to content

Commit

Permalink
profiler: fix imports (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
knusbaum authored Aug 26, 2021
1 parent d326bfb commit 4cc6709
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion profiler/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import (
"runtime/pprof"
"time"

"gopkg.in/DataDog/dd-trace-go.v1/profiler/internal/pprofutils"

"github.com/DataDog/gostackparse"
pprofile "github.com/google/pprof/profile"
"gopkg.in/DataDog/dd-trace-go.v1/profiler/internal/pprofutils"
)

// ProfileType represents a type of profile that the profiler is able to run.
Expand Down
3 changes: 2 additions & 1 deletion profiler/profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ import (
"testing"
"time"

"gopkg.in/DataDog/dd-trace-go.v1/profiler/internal/pprofutils"

pprofile "github.com/google/pprof/profile"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/DataDog/dd-trace-go.v1/profiler/internal/pprofutils"
)

func TestRunProfile(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions profiler/profiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"time"

pprofile "github.com/google/pprof/profile"

"gopkg.in/DataDog/dd-trace-go.v1/internal"
"gopkg.in/DataDog/dd-trace-go.v1/internal/log"
)
Expand Down

0 comments on commit 4cc6709

Please sign in to comment.