linux/drivers/hwtracing/coresight
Suzuki K Poulose 3d6e893575 coresight: perf: Remove set_buffer call back
In coresight perf mode, we need to prepare the sink before
starting a session, which is done via set_buffer call back.
We then proceed to enable the tracing. If we fail to start
the session successfully, we leave the sink configuration
unchanged.  In order to make the operation atomic and to
avoid yet another call back to clear the buffer, we get
rid of the "set_buffer" call back and pass the buffer details
via enable() call back to the sink.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-25 20:09:18 +02:00
..
coresight-catu.c coresight: catu: Plug in CATU as a backend for ETR buffer 2018-07-15 13:52:59 +02:00
coresight-catu.h coresight: catu: Plug in CATU as a backend for ETR buffer 2018-07-15 13:52:59 +02:00
coresight-cpu-debug.c coresight: Remove %px for printing pcsr value 2018-05-14 16:20:00 +02:00
coresight-dynamic-replicator.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-etb10.c coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
coresight-etm3x-sysfs.c coresight: etm3x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +02:00
coresight-etm3x.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-etm4x-sysfs.c coresight: etm4x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +02:00
coresight-etm4x.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-etm4x.h coresight: etm4x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +02:00
coresight-etm-cp14.c coresight: Moving framework and drivers to SPDX identifier 2018-05-14 16:19:59 +02:00
coresight-etm-perf.c coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
coresight-etm-perf.h coresight: perf: Add helper to retrieve sink configuration 2018-09-25 20:09:18 +02:00
coresight-etm.h coresight: etm3x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +02:00
coresight-funnel.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-priv.h coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
coresight-replicator.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-stm.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-tmc-etf.c coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
coresight-tmc-etr.c coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
coresight-tmc.c coresight: Convert driver messages to dev_dbg 2018-09-25 20:09:17 +02:00
coresight-tmc.h coresight: tmc-etr: Handle driver mode specific ETR buffers 2018-09-25 20:09:17 +02:00
coresight-tpiu.c coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
coresight.c coresight: perf: Remove set_buffer call back 2018-09-25 20:09:18 +02:00
Kconfig coresight: Introduce support for Coresight Address Translation Unit 2018-07-15 13:52:58 +02:00
Makefile coresight: Introduce support for Coresight Address Translation Unit 2018-07-15 13:52:58 +02:00
of_coresight.c coresight: Cleanup coresight DT bindings 2018-09-25 20:09:17 +02:00