On Tue, Oct 09, 2018 at 11:58:53AM +0300, Alexey Budankov wrote: SNIP
> @@ -1378,6 +1566,22 @@ static int parse_clockid(const struct option *opt, > const char *str, int unset) > return -1; > } > > +#ifdef HAVE_AIO_SUPPORT > +static int record__aio_parse(const struct option *opt, > + const char *str __maybe_unused, > + int unset) > +{ > + struct record_opts *opts = (struct record_opts *)opt->value; > + > + if (unset) > + opts->nr_cblocks = 0; > + else > + opts->nr_cblocks = 1; > + > + return 0; > +} > +#endif same, please move this up to have just one 'ifdef HAVE_AIO_SUPPORT' block thanks, jirka