Re: [PATCH 5/7] perf, tools: Add raw event support for dynamicallocated pmus

From: Peter Zijlstra
Date: Mon May 07 2012 - 10:20:41 EST


On Mon, 2012-05-07 at 15:05 +0200, Peter Zijlstra wrote:
> On Wed, 2012-05-02 at 20:26 +0200, Robert Richter wrote:
> > This patch extends the event parser to pass raw config values to a
> > dynamic allocated pmu. The following event syntax is supported now:
> >
> > <pmu_name>:<raw_config_value>:<modifier>
> >
> > Example for the ibs pmu:
> >
> > # perf record -a -e ibs_op:r000 ...
>
> Yeah, clearly not going to happen...
>
> If you'd used the existing stuff you would have been able to do:
>
> ibs_ops/field=0x000/

in fact: ibs_ops/config=0x000,config1=0x111,config2=0x222/ should
already work.

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