Messages in this thread | | | Date | Tue, 11 Mar 2014 15:31:49 +0100 | From | Jiri Olsa <> | Subject | Re: [PATCH 8/8] perf, tools, test: Add test case for alias and JSON parsing |
| |
On Wed, Mar 05, 2014 at 11:49:38AM -0800, Andi Kleen wrote: > From: Andi Kleen <ak@linux.intel.com> > > Add a simple test case to perf test that runs perf download and parses > all the events. This needs adding an all event iterator to pmu.c
[jolsa@krava perf]$ ./perf test -vvv 25 25: Test parsing JSON aliases : --- start --- invalid or unsupported event: 'energy-gpu' Parsed 522 events: ---- end ---- Test parsing JSON aliases: FAILED!
I think the problem is in parse_events_fixup, which assumes the 'cpu' pmu globaly for all events
jirka
| |