File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,11 @@ def die(*args, **kwargs):
93
93
-d LEVEL set BCC debug level
94
94
-e emit the resulting eBPF script without executing it
95
95
96
- estat zil [options ]
96
+ estat zil [POOL ]
97
97
Provides a breakdown of time spent doing ZIL-related activities, in
98
98
particular the time spent allocating a block and time spent waiting for
99
- the write I/O to complete.
100
-
101
- -a pool the pool to trace
99
+ the write I/O to complete. If POOL is not specified, defaults to tracing
100
+ the pool 'domain0'.
102
101
"""
103
102
104
103
@@ -194,7 +193,10 @@ class Args:
194
193
else :
195
194
assert False , "unhandled option: " + opt
196
195
197
- if len (rem_args ) != 1 :
196
+ if len (rem_args ) == 0 :
197
+ die ("Missing duration argument" )
198
+
199
+ if len (rem_args ) > 1 :
198
200
die ("Too many arguments" )
199
201
200
202
try :
You can’t perform that action at this time.
0 commit comments