Skip to content

Commit 2dbbbbe

Browse files
committed
docs(cli): ipfs diag profile
1 parent e78e2e1 commit 2dbbbbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/commands/profile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ However, it could reveal:
7171
},
7272
NoLocal: true,
7373
Options: []cmds.Option{
74-
cmds.StringOption(outputOptionName, "o", "The path where the output should be stored."),
74+
cmds.StringOption(outputOptionName, "o", "The path where the output .zip should be stored. Default: ./ipfs-profile-[timestamp].zip"),
7575
cmds.StringOption(profileTimeOption, "The amount of time spent profiling. If this is set to 0, then sampling profiles are skipped.").WithDefault("30s"),
7676
cmds.IntOption(mutexProfileFractionOption, "The fraction 1/n of mutex contention events that are reported in the mutex profile.").WithDefault(4),
7777
cmds.StringOption(blockProfileRateOption, "The duration to wait between sampling goroutine-blocking events for the blocking profile.").WithDefault("1ms"),

core/commands/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ NETWORK COMMANDS
6767
swarm Manage connections to the p2p network
6868
dht Query the DHT for values or peers
6969
ping Measure the latency of a connection
70-
diag Print diagnostics
7170
bitswap Inspect bitswap state
7271
pubsub Send and receive messages via pubsub
7372
7473
TOOL COMMANDS
7574
config Manage configuration
7675
version Show IPFS version information
76+
diag Generate diagnostic reports
7777
update Download and apply go-ipfs updates
7878
commands List all available commands
7979
log Manage and show logs of running daemon

0 commit comments

Comments
 (0)