lkml.org 
[lkml]   [2016]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V4 6/6] coresight: etm-perf: incorporating sink definition from cmd line
From
Date
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 ?

Thanks
Suzuki

\
 
 \ /
  Last update: 2016-08-05 12:21    [W:1.104 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site