From bbfe579fefadf25b0437d81fd71410990875eb51 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Tue, 6 May 2025 17:10:18 +0200 Subject: [PATCH] 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. --- cmd/support-profile.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/support-profile.go b/cmd/support-profile.go index 3cd39db9..0950843a 100644 --- a/cmd/support-profile.go +++ b/cmd/support-profile.go @@ -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...) )