projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2241f4
)
Fixed long arg name from stack_depth to stack-depth
author
Sasha Goldshtein
<goldshtn@gmail.com>
Tue, 9 Feb 2016 14:24:33 +0000
(06:24 -0800)
committer
Sasha Goldshtein
<goldshtn@gmail.com>
Tue, 9 Feb 2016 14:24:33 +0000
(06:24 -0800)
tools/memleak.py
patch
|
blob
|
history
diff --git
a/tools/memleak.py
b/tools/memleak.py
index
063cf31
..
980ced0
100755
(executable)
--- a/
tools/memleak.py
+++ b/
tools/memleak.py
@@
-190,7
+190,7
@@
parser.add_argument("-c", "--command",
help="execute and trace the specified command")
parser.add_argument("-s", "--sample-rate", default=1, type=int,
help="sample every N-th allocation to decrease the overhead")
-parser.add_argument("-d", "--stack
_
depth", default=10, type=int,
+parser.add_argument("-d", "--stack
-
depth", default=10, type=int,
help="maximum stack depth to capture")
args = parser.parse_args()