add cpu and mem pprof

This commit is contained in:
Chris Lu
2017-06-22 01:33:58 -07:00
parent 2c7dad589d
commit 1fbb8723dc
7 changed files with 46 additions and 17 deletions

View File

@@ -31,7 +31,7 @@ func runMount(cmd *Command, args []string) bool {
return false
}
OnInterrupt(func() {
util.OnInterrupt(func() {
fuse.Unmount(*mountOptions.dir)
c.Close()
})