Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457181

Re: [PATCH V4 6/6] coresight: etm-perf: incorporating sink definition from cmd line

From Mathieu Poirier <mathieu.poirier@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH V4 6/6] coresight: etm-perf: incorporating sink definition from cmd line
Date 2016-08-05 17:50 +0200
Message-ID <s2PxM-YZ-43@gated-at.bofh.it> (permalink)
References <s2u9X-3yY-15@gated-at.bofh.it> <s2u9X-3yY-13@gated-at.bofh.it> <s2JLH-5EJ-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 5 August 2016 at 03:32, Suzuki K Poulose <Suzuki.Poulose@arm.com> wrote:
> On 04/08/16 17:53, Mathieu Poirier wrote:
>>
>> Now that PMU specific configuration is available as part of the event,
>> lookup the sink identified by users from the perf command line and build
>> a path from source to sink.
>>
>> With this functionality it is no longer required to select a sink in a
>> separate step (from sysFS) before a perf trace session can be started.
>>
>> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
>
>
>
>> +static const match_table_t drv_cfg_tokens = {
>> +       {ETM_TOKEN_SINK_CPU, "sink=cpu%d:%s"},
>> +       {ETM_TOKEN_SINK, "sink=%s"},
>> +       {ETM_TOKEN_ERR, NULL},
>> +};
>> +
>
>
> Is the above format documented somewhere for the perf users ? If not could
> we please
> add it ?
>

Yes definitely.  I will document everything once I am done with
upstreaming the feature.  That way we go over the process only once.

> Thanks
> Suzuki
>

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH V4 6/6] coresight: etm-perf: incorporating sink definition from cmd line Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-08-04 19:00 +0200
  Re: [PATCH V4 6/6] coresight: etm-perf: incorporating sink definition  from cmd line Suzuki K Poulose <Suzuki.Poulose@arm.com> - 2016-08-05 11:40 +0200
    Re: [PATCH V4 6/6] coresight: etm-perf: incorporating sink definition  from cmd line Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-08-05 17:50 +0200

csiph-web