Re: [RFC PATCH] sched: Add cpu based entries to debugfs

From: Mike Galbraith
Date: Sun Mar 29 2015 - 22:32:42 EST


On Sun, 2015-03-29 at 22:13 -0400, David Ahern wrote:

> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index 62671f53202a..b4d8d0c8260e 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -268,12 +268,173 @@ static const struct file_operations sched_feat_fops = {
> .release = single_release,
> };
>
> +static const char * const sd_flag_names[] = {
> + "load-balance",
> + "new-idle",
> + "exec",
> + "fork",
> + "wake",
> + "affine",
> + "",
> + "cpu-capacity",
> + "power-domain",
> + "share-pkg-resources",
> + "serialize",
> + "asym-packing",
> + "prefer-sibling",
> + "overlap",
> + "numa",
> + "",
> +};

That's wrong with the names readers will want to grep for?

-Mike

--
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/