bpowers/psm — pull request #1 by pipul (2013-05-09 04:56:38+00:00)
Title: pprof instance

- if cpuProfile != "" {
- var f *os.File // this file isn't normal close
- if f, err = os.Create(cpuProfile); err != nil {
- log.Fatal(err)
- }
- pprof.StartCPUProfile(f)
- }