Re: [PATCH 8/8] perf, tools, test: Add test case for alias and JSON parsing

From: Andi Kleen
Date: Fri Mar 14 2014 - 17:12:41 EST


> I think the problem is in parse_events_fixup, which assumes
> the 'cpu' pmu globaly for all events

I investigated this now. The problem is that the event is listed,
but cannot be set up. I saw it also with 'data_writes' on another
system.

That's a generic problem, the test just exposes it. It's a side effect
of the fragile kernel->user interface in perf and likely hard to fix.

The only thing I can do is to ignore failures here and only
print messages.

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