mirror of
https://github.com/golang/go
synced 2024-11-19 09:24:39 -07:00
6prof: more accurate usage message.
R=r, r2 CC=golang-dev https://golang.org/cl/2323042
This commit is contained in:
parent
cf74232260
commit
763cb8ad11
@ -53,7 +53,8 @@ Map *map[32]; // thread maps
|
|||||||
void
|
void
|
||||||
Usage(void)
|
Usage(void)
|
||||||
{
|
{
|
||||||
fprint(2, "Usage: prof -p pid [-t total_secs] [-d delta_msec] [6.out args ...]\n");
|
fprint(2, "Usage: prof -p pid [-t total_secs] [-d delta_msec]\n");
|
||||||
|
fprint(2, " prof [-t total_secs] [-d delta_msec] 6.out args ...\n");
|
||||||
fprint(2, "\tformats (default -h):\n");
|
fprint(2, "\tformats (default -h):\n");
|
||||||
fprint(2, "\t\t-P file.prof: write [c]pprof output to file.prof\n");
|
fprint(2, "\t\t-P file.prof: write [c]pprof output to file.prof\n");
|
||||||
fprint(2, "\t\t-h: histograms\n");
|
fprint(2, "\t\t-h: histograms\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user