You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmds.StringOption(outputOptionName, "o", "The path where the output .zip should be stored. Default: ./ipfs-profile-[timestamp].zip"),
76
+
cmds.DelimitedStringsOption(",", collectorsOptionName, "The list of collectors to use for collecting diagnostic data.").
77
+
WithDefault([]string{
78
+
profile.CollectorGoroutinesStack,
79
+
profile.CollectorGoroutinesPprof,
80
+
profile.CollectorVersion,
81
+
profile.CollectorHeap,
82
+
profile.CollectorBin,
83
+
profile.CollectorCPU,
84
+
profile.CollectorMutex,
85
+
profile.CollectorBlock,
86
+
}),
75
87
cmds.StringOption(profileTimeOption, "The amount of time spent profiling. If this is set to 0, then sampling profiles are skipped.").WithDefault("30s"),
76
88
cmds.IntOption(mutexProfileFractionOption, "The fraction 1/n of mutex contention events that are reported in the mutex profile.").WithDefault(4),
77
89
cmds.StringOption(blockProfileRateOption, "The duration to wait between sampling goroutine-blocking events for the blocking profile.").WithDefault("1ms"),
78
90
},
79
91
Run: func(req*cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
0 commit comments