Re: [PATCH 14/31] perf build: Rename PERF-FEATURES into FEATURE-DUMP

From: Ingo Molnar
Date: Sun Mar 22 2015 - 06:19:46 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> From: Jiri Olsa <jolsa@xxxxxxxxxx>
>
> Preparing for feature checks separation, moving related stuff under
> 'FEATURE*' namespace.
>
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
> Cc: David Ahern <david.ahern@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/n/tip-v9oo22ra70rrk1dy495a7bjc@xxxxxxxxxxxxxx
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

So I think the various capital letter files in $(cwd) are highly
suboptimal:

FEATURE-DUMP
PERF-CFLAGS
PERF-VERSION-FILE

I think we should standardize on something less pushy (no shouting),
plus more standardized, more logical, more coherent names, i.e.
something like:

.build.features.cache
.build.cflags
.build.version

?

.build.features.* would be reserved to the generic feature detection
machinery.

.build.cflags and .build.version could be used by the perf build -
hopefully exported to tools/build/ as well in the future! :-)

That way the .gitignore could just ignore .build.* and we'd not have
to update it much.

Btw., another small nit: could we please do a (git-)rename of
tools/build/feature/ to tools/build/features/?

Plural is what is used typically for generic frameworks that deal with
a set of items (features in this case) - for example we have
tools/tests/, and tools/perf/scripts/, not tools/test/ and
tools/perf/script/.

Thanks,

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