Change support profile defaults (#5198)
* Remove block and mutex as they are rather intensive and provide little information. * Add 'runtime'. Small, not intensive and possibly useful. Ignored by non-AIStor. * Do 15 seconds for better data.
This commit is contained in:
@@ -37,12 +37,12 @@ var (
|
||||
cli.IntFlag{
|
||||
Name: "duration",
|
||||
Usage: "profile for the specified duration in seconds",
|
||||
Value: 10,
|
||||
Value: 15,
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "type",
|
||||
Usage: "profiler type, possible values are 'cpu', 'cpuio', 'mem', 'block', 'mutex', 'trace', 'threads' and 'goroutines'",
|
||||
Value: "cpu,mem,block,mutex,goroutines",
|
||||
Usage: "profiler type, possible values are 'cpu', 'cpuio', 'mem', 'block', 'mutex', 'trace', 'threads', 'goroutines' and 'runtime'",
|
||||
Value: "cpu,mem,goroutines,runtime",
|
||||
},
|
||||
}, subnetCommonFlags...)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user