coresight: adding sink parameter to function coresight_build_path()
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 29 Apr 2016 19:22:59 +0000 (13:22 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Jun 2016 17:15:50 +0000 (11:15 -0600)
commit376daf04d54d5daa96282dced8e1df9e7b07446b
tree113373a8a59768c32801facd6866255f01d6d220
parente5fd3d6e84b268edb1a3f66e4d974611e3908c00
coresight: adding sink parameter to function coresight_build_path()

Up to now function coresight_build_path() was counting on a sink to
have been selected (from sysFS) prior to being called.  This patch
adds a string argument so that a sink matching the argument can be
selected.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm-perf.c
drivers/hwtracing/coresight/coresight-priv.h
drivers/hwtracing/coresight/coresight.c