Re: [PATCH 20/41] perf tools: Let a user specify a PMU event without any config terms

From: Adrian Hunter
Date: Wed Jul 16 2014 - 11:05:30 EST


On 16/07/2014 5:25 p.m., Jiri Olsa wrote:
On Mon, Jul 14, 2014 at 01:02:44PM +0300, Adrian Hunter wrote:
This enables a PMU event to be specified in the form:

pmu//

which is effectively the same as:

pmu/config=0/

This patch is a precursor to defining
default config for a PMU.

I understand the need for default config, but could you please elaborate
why do we want to parse 'pmu//' as an event string string?

Currently the parser requires the slashes to identify a PMU event
as opposed to a hardware or other kind of event.
--
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/