diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-05-06 17:09:15 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-05-06 17:09:15 +0800 |
commit | a1c201a5ac977bd090ca07fecdb29f494afb5ce2 (patch) | |
tree | f121356b810704b325d4bc2ac905220e653c2fd1 /internal/debug | |
parent | 2d7d7ef2fe08db84b0cd44ad2ec820cc965d4cad (diff) | |
parent | 844e911129dbebd80ff57ec68336a845b52c5eff (diff) | |
download | dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.tar dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.tar.gz dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.tar.bz2 dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.tar.lz dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.tar.xz dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.tar.zst dexon-a1c201a5ac977bd090ca07fecdb29f494afb5ce2.zip |
Merge pull request #2517 from fjl/debug-go-trace
internal/debug: rename debug_trace to debug_goTrace
Diffstat (limited to 'internal/debug')
-rw-r--r-- | internal/debug/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/debug/api.go b/internal/debug/api.go index 2cb264040..a0bff2768 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -131,9 +131,9 @@ func (h *HandlerT) StopCPUProfile() error { return nil } -// Trace turns on tracing for nsec seconds and writes +// GoTrace turns on tracing for nsec seconds and writes // trace data to file. -func (h *HandlerT) Trace(file string, nsec uint) error { +func (h *HandlerT) GoTrace(file string, nsec uint) error { if err := h.StartTrace(file); err != nil { return err } |