Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
763cb8ad
Commit
763cb8ad
authored
Sep 30, 2010
by
David Symonds
Committed by
Rob Pike
Sep 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6prof: more accurate usage message.
R=r, r2 CC=golang-dev
https://golang.org/cl/2323042
parent
cf742322
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.c
src/cmd/prof/main.c
+2
-1
No files found.
src/cmd/prof/main.c
View file @
763cb8ad
...
@@ -53,7 +53,8 @@ Map *map[32]; // thread maps
...
@@ -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
,
"
\t
formats (default -h):
\n
"
);
fprint
(
2
,
"
\t
formats (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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment