Skip to content

Commit

Permalink
profile: change default --stack-storage-size to 16384
Browse files Browse the repository at this point in the history
  • Loading branch information
cippaciong committed Apr 30, 2018
1 parent 718c928 commit aa4aa52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion man/man8/profile.8
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Show stacks from kernel space only (no user space stacks).
.TP
\-\-stack-storage-size COUNT
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
duration
Duration to trace, in seconds.
Expand Down
2 changes: 1 addition & 1 deletion tools/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def stack_id_err(stack_id):
help="add _[k] annotations to kernel frames")
parser.add_argument("-f", "--folded", action="store_true",
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,
help="the number of unique stack traces that can be stored and "
"displayed (default %(default)s)")
Expand Down

0 comments on commit aa4aa52

Please sign in to comment.