#define SETBUFFER_SIZE (64 * 1024)
-#define S_OPTS "aAB:d:D:e:hi:I:l:M:o:p:q:s:S:t:T:Vv"
+#define S_OPTS "aAB:d:D:e:hi:I:l:M:o:p:q:s:S:t:T:u:Vv"
static struct option l_opts[] = {
{
.name = "seek-absolute",
.flag = NULL,
.val = 'T'
},
+ {
+ .name = "unplug-hist",
+ .has_arg = required_argument,
+ .flag = NULL,
+ .val = 'u'
+ },
{
.name = "version",
.has_arg = no_argument,
"[ -S <interval> | --iostat-interval=<interval> ]\n" \
"[ -t <sec> | --time-start=<sec> ]\n" \
"[ -T <sec> | --time-end=<sec> ]\n" \
+ "[ -u <output name> | --unplug-hist=<output name> ] \n" \
"[ -V | --version ]\n" \
"[ -v | --verbose ]\n\n";
sscanf(optarg, "%lf", &t_aend);
time_bounded = 1;
break;
+ case 'u':
+ unplug_hist_name = strdup(optarg);
+ break;
case 'v':
verbose = 1;
break;