linux/drivers/hwtracing/coresight
Mathieu Poirier b3e9440594 coresight: associating path with session rather than tracer
When using the Coresight framework from the sysFS interface a
tracer is always handling a single session and as such, a path
can be associated with a tracer.  But when supporting multiple
session per tracer there is no guarantee that sessions will always
have the same path from source to sink.

This patch is removing the automatic association between path and
tracers.  The building of a path and enablement of the components
in the path are decoupled, allowing for the association of a path
with a session rather than a tracer.

To keep backward functionality with the current sysFS access methods
a per-cpu place holder is used to keep a handle on the path built when
tracers are enabled.  Lastly APIs to build paths and enable tracers are
made public so that other subsystem can interact with the Coresight
framework.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:11:01 -08:00
..
coresight-etb10.c coresight: removing bind/unbind options from sysfs 2016-02-07 22:12:18 -08:00
coresight-etm3x.c coresight: implementing 'cpu_id()' API 2016-02-07 22:12:18 -08:00
coresight-etm4x.c coresight: "DEVICE_ATTR_RO" should defined as static. 2016-02-20 14:11:01 -08:00
coresight-etm4x.h coresight-etm4x: Support context-ID tracing when PID namespace is enabled 2015-08-05 13:30:15 -07:00
coresight-etm-cp14.c
coresight-etm.h coresight-etm3x: Support context-ID tracing when PID namespace is enabled 2015-08-05 13:30:15 -07:00
coresight-funnel.c coresight: removing bind/unbind options from sysfs 2016-02-07 22:12:18 -08:00
coresight-priv.h coresight: associating path with session rather than tracer 2016-02-20 14:11:01 -08:00
coresight-replicator-qcom.c coresight: removing bind/unbind options from sysfs 2016-02-07 22:12:18 -08:00
coresight-replicator.c coresight: removing bind/unbind options from sysfs 2016-02-07 22:12:18 -08:00
coresight-tmc.c coresight: etm4x: Check every parameter used by dma_xx_coherent. 2016-02-20 14:11:01 -08:00
coresight-tpiu.c coresight: removing bind/unbind options from sysfs 2016-02-07 22:12:18 -08:00
coresight.c coresight: associating path with session rather than tracer 2016-02-20 14:11:01 -08:00
Kconfig coresight: Fix a typo in Kconfig 2015-12-21 13:31:31 -08:00
Makefile coresight: replicator: Add Qualcomm CoreSight Replicator driver 2015-05-24 11:12:08 -07:00
of_coresight.c coresight: "DEVICE_ATTR_RO" should defined as static. 2016-02-20 14:11:01 -08:00