coresight: etm-perf: incorporating sink definition from the cmd line
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 29 Apr 2016 19:29:12 +0000 (13:29 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Jun 2016 17:16:03 +0000 (11:16 -0600)
commit809a241f08c44c0e31b1390f75a35c74f9d87854
treedd7ffadd43f27ee8ade8bdab666d07334150f390
parent376daf04d54d5daa96282dced8e1df9e7b07446b
coresight: etm-perf: incorporating sink definition from the cmd line

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>
drivers/hwtracing/coresight/coresight-etm-perf.c