Commit d07e2ecb authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1722 from cippaciong/master

profile: update --stack-storage-size default value in help message
parents d837b73f aa4aa521
...@@ -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
10240). If the sampled count exceeds this, a warning will be printed. 16384). 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.
......
...@@ -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=10240, parser.add_argument("--stack-storage-size", default=16384,
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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment