Re: [PATCH V2 3/6] perf tools: add infrastructure for PMU specific configuration

From: Jiri Olsa
Date: Thu Jul 21 2016 - 03:47:19 EST


On Wed, Jul 20, 2016 at 02:38:17PM -0600, Mathieu Poirier wrote:
> This patchset adds PMU driver specific configuration to the parser
> infrastructure by preceding any term with the '@' letter. As such
> doing something like:
>
> perf record -e some_event/@cfg1,@cfg2=config/ ...
>
> will see 'cfg1' and 'cfg2=config' being added to the list of evsel config
> terms. Token 'cfg1' and 'cfg2=config' are not processed in user space
> and are meant to be interpreted by the PMU driver.

please also update the docs, like 'Documentation/perf-record.txt --event option'

thanks,
jirka