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:
Klaus Post
2025-05-06 08:10:18 -07:00
committed by GitHub
parent 2c1e058767
commit bbfe579fef
+3 -3
View File
@@ -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...)
)