nebula icon indicating copy to clipboard operation
nebula copied to clipboard

ssh: add save-mutex-profile

Open wadey opened this issue 3 years ago • 0 comments

This change lets you call mutex-profile-fraction to set the mutex profile sampling rate, and then save-mutex-profile to save the profile to a file on disk.

This can be helpful when profiling to check for mutex contention issues.

  • https://pkg.go.dev/runtime#SetMutexProfileFraction
  • https://pkg.go.dev/runtime/pprof#Profile

wadey avatar Aug 30 '22 18:08 wadey