internal/debug: also rename debug_startTrace to debug_startGoTrace

This was missing from the previous change.
This commit is contained in:
Felix Lange
2016-05-06 11:15:05 +02:00
parent a1c201a5ac
commit ae9ed5c420
5 changed files with 14 additions and 14 deletions

View File

@ -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()