This commit is contained in:
Federico Kunze Küllmer
2021-08-26 15:45:45 +00:00
committed by GitHub
parent b5288399d3
commit 7389770b10
11 changed files with 71 additions and 73 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (a *InternalAPI) BlockProfile(file string, nsec uint) error {
// CpuProfile turns on CPU profiling for nsec seconds and writes
// profile data to file.
func (a *InternalAPI) CpuProfile(file string, nsec uint) error { // nolint: golint
func (a *InternalAPI) CpuProfile(file string, nsec uint) error { // nolint: golint, stylecheck
a.logger.Debug("debug_cpuProfile", "file", file, "nsec", nsec)
if err := a.StartCPUProfile(file); err != nil {
return err