Re: [PATCH V3 4/6] perf tools: pushing driver configuration down to the kernel

From: Mathieu Poirier
Date: Wed Aug 03 2016 - 17:53:23 EST


On 31 July 2016 at 06:03, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> On Thu, Jul 28, 2016 at 03:42:21PM -0600, Mathieu Poirier wrote:
>> Now that PMU specific driver configuration are queued in
>> evsel::config_terms, all we need to do is re-use the current
>> ioctl() mechanism to push down the information to the kernel
>> driver.
>>
>> Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
>> ---
>> tools/perf/builtin-record.c | 9 +++++++++
>> tools/perf/builtin-stat.c | 8 ++++++++
>
> how about perf top?

It took me a while to notice the "event" option in cmd_top(). You are
correct, it applies there as well.

Mathieu

>
> jirka