Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
d07e2ecb
Commit
d07e2ecb
authored
Apr 30, 2018
by
yonghong-song
Committed by
GitHub
Apr 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1722 from cippaciong/master
profile: update --stack-storage-size default value in help message
parents
d837b73f
aa4aa521
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
man/man8/profile.8
man/man8/profile.8
+1
-1
tools/profile.py
tools/profile.py
+2
-2
No files found.
man/man8/profile.8
View file @
d07e2ecb
...
@@ -52,7 +52,7 @@ Show stacks from kernel space only (no user space stacks).
...
@@ -52,7 +52,7 @@ Show stacks from kernel space only (no user space stacks).
.TP
.TP
\-\-stack-storage-size COUNT
\-\-stack-storage-size COUNT
The maximum number of unique stack traces that the kernel will count (default
The maximum number of unique stack traces that the kernel will count (default
1
0240
). If the sampled count exceeds this, a warning will be printed.
1
6384
). If the sampled count exceeds this, a warning will be printed.
.TP
.TP
duration
duration
Duration to trace, in seconds.
Duration to trace, in seconds.
...
...
tools/profile.py
View file @
d07e2ecb
...
@@ -99,10 +99,10 @@ parser.add_argument("-a", "--annotations", action="store_true",
...
@@ -99,10 +99,10 @@ parser.add_argument("-a", "--annotations", action="store_true",
help
=
"add _[k] annotations to kernel frames"
)
help
=
"add _[k] annotations to kernel frames"
)
parser
.
add_argument
(
"-f"
,
"--folded"
,
action
=
"store_true"
,
parser
.
add_argument
(
"-f"
,
"--folded"
,
action
=
"store_true"
,
help
=
"output folded format, one line per stack (for flame graphs)"
)
help
=
"output folded format, one line per stack (for flame graphs)"
)
parser
.
add_argument
(
"--stack-storage-size"
,
default
=
1
0240
,
parser
.
add_argument
(
"--stack-storage-size"
,
default
=
1
6384
,
type
=
positive_nonzero_int
,
type
=
positive_nonzero_int
,
help
=
"the number of unique stack traces that can be stored and "
help
=
"the number of unique stack traces that can be stored and "
"displayed (default
2048
)"
)
"displayed (default
%(default)s
)"
)
parser
.
add_argument
(
"duration"
,
nargs
=
"?"
,
default
=
99999999
,
parser
.
add_argument
(
"duration"
,
nargs
=
"?"
,
default
=
99999999
,
type
=
positive_nonzero_int
,
type
=
positive_nonzero_int
,
help
=
"duration of trace, in seconds"
)
help
=
"duration of trace, in seconds"
)
...
...
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