Skip to content

Commit

Permalink
symbolizer for
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed May 5, 2024
1 parent 498433e commit 035d047
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions dbg/keep.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package dbg
8 changes: 8 additions & 0 deletions dbg/pprof_cgo.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//go:build debug
// +build debug

package dbg

import (
_ "github.com/benesch/cgosymbolizer"
)
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
module github.com/erigontech/mdbx-go

go 1.15

require (
github.com/benesch/cgosymbolizer v0.0.0-20190515212042-bec6fe6e597b
github.com/ianlancetaylor/cgosymbolizer v0.0.0-20240503222823-736c933a666d // indirect
)
2 changes: 2 additions & 0 deletions mdbx/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (
"sync"
"time"
"unsafe"

_ "github.com/erigontech/mdbx-go/dbg"
)

// success is a value returned from the MDBX API to indicate a successful call.
Expand Down

0 comments on commit 035d047

Please sign in to comment.