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

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:21PM -0700, Sukadev Bhattiprolu wrote: SNIP > > $(PERF_IN): $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h FORCE > $(Q)$(MAKE) $(build)=perf > > -$(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) > - $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $(PERF_IN) $(LIBS) -o

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

2015-05-28 Thread Jiri Olsa
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 000..7e0c85c > --- /dev/null > +++ b/tools/perf/pmu-events/Build > @@ -0,0 +1,10 @@ > +jevents-y+= json.o j

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

2015-05-27 Thread Sukadev Bhattiprolu
From: Andi Kleen This is a modified version of an earlier patch by Andi Kleen. We expect architectures to describe the performance monitoring events for each CPU in a corresponding JSON file, which look like: [ { "EventCode": "0x00", "UMask": "0x01", "Eve