Skip to content

Commit

Permalink
Testdot (#94)
Browse files Browse the repository at this point in the history
* return dot

* return dot
  • Loading branch information
dvovk authored Sep 29, 2024
1 parent fac286f commit 2b304e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
)

require (
github.com/erigontech/erigonwatch v0.1.10
github.com/erigontech/erigonwatch v0.1.11
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/erigontech/erigonwatch v0.1.10 h1:dnMzaD8T/97B8bgHkPH0QRoWyjuEseXg4tLw4Jp20Hw=
github.com/erigontech/erigonwatch v0.1.10/go.mod h1:8vQ+VjvLu2gkPs8EwdPrOTAAo++WuLuBi54N7NuAF0I=
github.com/erigontech/erigonwatch v0.1.11 h1:1aKqHjbRu9cI9cStoAAstAsWC559F6wyUQ4lKRCo3oU=
github.com/erigontech/erigonwatch v0.1.11/go.mod h1:8vQ+VjvLu2gkPs8EwdPrOTAAo++WuLuBi54N7NuAF0I=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
Expand Down
2 changes: 1 addition & 1 deletion internal/erigon_node/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (c *NodeClient) FindProfile(ctx context.Context, profile string) ([]byte, e
return nil, fmt.Errorf("Error writing to temporary file: %v", err)
}

cmd := exec.Command("go", "tool", "pprof", "-png", tempFile.Name())
cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name())
svgOutput, err := cmd.Output()
if err != nil {
return nil, fmt.Errorf("Error generating SVG output: %v", err)
Expand Down

0 comments on commit 2b304e0

Please sign in to comment.