OpenCloudOS-Kernel/drivers/hwtracing/coresight
Mathieu Poirier 99f81eb9c5 coresight: tmc-etf: Fix snapshot mode update function
When working in snapshot mode function perf_aux_output_begin()
does not set the handle->size because the size is expected to be
deduced by the placement of the "head" and "old" pointers in user
space.  As such there is no point in trying to adjust the amount
of data to copy to the ring buffer.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Tested-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-19 20:29:13 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile coresight: Merge the static and dynamic replicator drivers 2019-04-25 22:00:15 +02:00
coresight-catu.c coresight: catu: Cleanup power management 2019-04-25 22:00:16 +02:00
coresight-catu.h coresight: catu: fix clang build warning 2019-04-25 22:00:14 +02:00
coresight-cpu-debug.c coresight: cpu-debug: Support for CA73 CPUs 2019-02-08 12:27:36 +01:00
coresight-etb10.c coresight: etb10: Properly set AUX buffer head in snapshot mode 2019-06-19 20:29:13 +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: Communicate perf event to sink buffer allocation functions 2019-04-25 22:00:17 +02:00
coresight-etm-perf.h coresight: perf: Add "sinks" group to PMU directory 2019-02-08 12:27:36 +01:00
coresight-etm.h coresight: etm3x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +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 ARM: 8838/1: drivers: amba: Updates to component identification for driver matching. 2019-02-26 11:23:48 +00: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: etm4x: Configure tracers to emit timestamps 2019-04-25 22:00:16 +02:00
coresight-etm4x.h coresight: etm4x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +02:00
coresight-funnel.c coresight: funnel: Support static funnel 2019-05-02 19:12:21 +02:00
coresight-priv.h ARM updates for 5.1-rc1 2019-03-15 14:37:46 -07:00
coresight-replicator.c coresight: replicator: Add new device id for static replicator 2019-05-02 19:12:21 +02:00
coresight-stm.c ARM updates for 5.1-rc1 2019-03-15 14:37:46 -07:00
coresight-tmc-etf.c coresight: tmc-etf: Fix snapshot mode update function 2019-06-19 20:29:13 +02:00
coresight-tmc-etr.c coresight: tmc-etr: Properly set AUX buffer head in snapshot mode 2019-06-19 20:29:13 +02:00
coresight-tmc.c coresight: tmc-etr: Add support for CPU-wide trace scenarios 2019-04-25 22:00:18 +02:00
coresight-tmc.h coresight: tmc-etr: Add support for CPU-wide trace scenarios 2019-04-25 22:00:18 +02:00
coresight-tpiu.c coresight: Move reference counting inside sink drivers 2019-04-25 22:00:16 +02:00
coresight.c coresight: Move reference counting inside sink drivers 2019-04-25 22:00:16 +02:00
of_coresight.c coresight: Use of_node_name_eq for node name comparisons 2019-02-08 12:27:36 +01:00