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/flags.go | |
parent | a1c201a5ac977bd090ca07fecdb29f494afb5ce2 (diff) | |
download | go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.gz go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.bz2 go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.lz go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.xz go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.tar.zst go-tangerine-ae9ed5c420dc7babc5754fbb88c7bfe893d5dcf0.zip |
internal/debug: also rename debug_startTrace to debug_startGoTrace
This was missing from the previous change.
Diffstat (limited to 'internal/debug/flags.go')
-rw-r--r-- | internal/debug/flags.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/debug/flags.go b/internal/debug/flags.go index 76f32561a..5b1a9b23c 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -89,7 +89,7 @@ func Setup(ctx *cli.Context) error { runtime.MemProfileRate = ctx.GlobalInt(memprofilerateFlag.Name) Handler.SetBlockProfileRate(ctx.GlobalInt(blockprofilerateFlag.Name)) if traceFile := ctx.GlobalString(traceFlag.Name); traceFile != "" { - if err := Handler.StartTrace(traceFile); err != nil { + if err := Handler.StartGoTrace(traceFile); err != nil { return err } } @@ -114,5 +114,5 @@ func Setup(ctx *cli.Context) error { // respective file. func Exit() { Handler.StopCPUProfile() - Handler.StopTrace() + Handler.StopGoTrace() } |