Re: [PATCH 02/10] jevents: Program to convert JSON file to C style file

From: Jiri Olsa
Date: Thu May 28 2015 - 08:06:51 EST


On Wed, May 27, 2015 at 02:23:21PM -0700, Sukadev Bhattiprolu wrote:

SNIP

>
> diff --git a/tools/perf/pmu-events/Build b/tools/perf/pmu-events/Build
> new file mode 100644
> index 0000000..7e0c85c
> --- /dev/null
> +++ b/tools/perf/pmu-events/Build
> @@ -0,0 +1,10 @@
> +jevents-y += json.o jsmn.o jevents.o
> +pmu-events-y += pmu-events.o
> +JSON = $(shell find pmu-events/arch/$(ARCH) -name '*.json')

you might want to check if there's the directory first,
or if there's a way to tell find to be quiet or ignore that

find: âpmu-events/arch/x86â: No such file or directory
CC pmu-events/json.o
CC pmu-events/jsmn.o
CC pmu-events/jevents.o
LD pmu-events/jevents-in.o
LINK pmu-events/jevents
find: âpmu-events/arch/x86â: No such file or directory
pmu-events/jevents: Error walking file tree pmu-events/arch/x86
Creating empty pmu_events_map[] table
CC pmu-events/pmu-events.o


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/