diff options
author | Felix Lange <fjl@twurst.com> | 2016-05-06 17:15:05 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-05-06 17:15:05 +0800 |
commit | ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0 (patch) | |
tree | 0afff0a9a51256873b44a4a026eb955ad8651257 /internal/debug/trace.go | |
parent | a1c201a5ac977bd090ca07fecdb29f494afb5ce2 (diff) | |
download | dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.gz dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.bz2 dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.lz dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.xz dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.zst dexon-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.zip |
internal/debug: also rename debug_startTrace to debug_startGoTrace
This was missing from the previous change.
Diffstat (limited to 'internal/debug/trace.go')
-rw-r--r-- | internal/debug/trace.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/debug/trace.go b/internal/debug/trace.go index 45637977a..c0cf921ff 100644 --- a/internal/debug/trace.go +++ b/internal/debug/trace.go @@ -27,8 +27,8 @@ import ( "github.com/ethereum/go-ethereum/logger/glog" ) -// StartTrace turns on tracing, writing to the given file. -func (h *HandlerT) StartTrace(file string) error { +// StartGoTrace turns on tracing, writing to the given file. +func (h *HandlerT) StartGoTrace(file string) error { h.mu.Lock() defer h.mu.Unlock() if h.traceW != nil { @@ -49,7 +49,7 @@ func (h *HandlerT) StartTrace(file string) error { } // StopTrace stops an ongoing trace. -func (h *HandlerT) StopTrace() error { +func (h *HandlerT) StopGoTrace() error { h.mu.Lock() defer h.mu.Unlock() trace.Stop() |