Commit 68ec110d authored by 4ast's avatar 4ast Committed by GitHub

Merge pull request #899 from brendangregg/tool2

profile: increase unique stack default to 10k
parents ceb90896 43e87c1d
...@@ -49,7 +49,7 @@ Show stacks from kernel space only (no user space stacks). ...@@ -49,7 +49,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
2048). If the sampled count exceeds this, a warning will be printed. 10240). 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.
......
...@@ -90,7 +90,7 @@ parser.add_argument("-a", "--annotations", action="store_true", ...@@ -90,7 +90,7 @@ 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=2048, parser.add_argument("--stack-storage-size", default=10240,
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 2048)")
......
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