Re: [PATCH 1/2] perf tools: Add 'perf-config' command

From: Jiri Olsa
Date: Tue Apr 07 2015 - 13:57:24 EST


On Sun, Apr 05, 2015 at 02:41:27AM +0900, Taeung Song wrote:

SNIP

> + "perf config [options]",
> + NULL
> +};
> +static const struct option config_options[] = {
> + OPT_BOOLEAN('l', "list", &params.list_action, "list up current configurations"),
> + OPT_END()
> +};
> +
> +static void check_argc(int argc, int min, int max)

seems like all callers have min == max, so there's no need for 2 params

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/