linux/drivers/hwtracing/coresight
Mathieu Poirier 5aafd9bf7a coresight: perf: Don't set the truncated flag in snapshot mode
This patch avoids setting the truncated flag when operating in snapshot
mode since the trace buffer is expected to be truncated and discontinuous
from one snapshot to another.  Moreover when the truncated flag is set
the perf core stops enabling the event, waiting for user space to consume
the data.  In snapshot mode this is clearly not what we want since it
results in stale data.

Signed-off-by: Mathieu Poirier <mathieu.poirier@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:14 +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: perf: Don't set the truncated flag in snapshot mode 2019-06-19 20:29:14 +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-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-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: perf: Don't set the truncated flag in snapshot mode 2019-06-19 20:29:14 +02:00
coresight-tmc-etr.c coresight: perf: Don't set the truncated flag in snapshot mode 2019-06-19 20:29:14 +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
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
of_coresight.c coresight: Use of_node_name_eq for node name comparisons 2019-02-08 12:27:36 +01:00