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

2016-07-31 Thread Jiri Olsa
On Thu, Jul 28, 2016 at 03:42:20PM -0600, Mathieu Poirier wrote: > This patch 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'

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

2016-07-28 Thread Mathieu Poirier
This patch 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'