linux/drivers/hwtracing
Mathieu Poirier 855ab61c16 coresight: tmc-etr: Refactor function tmc_etr_setup_perf_buf()
Refactoring function tmc_etr_setup_perf_buf() so that it only deals
with the high level etr_perf_buffer, leaving the allocation of the
backend buffer (i.e etr_buf) to another function.

That way the backend buffer allocation function can decide if it wants
to reuse an existing buffer (CPU-wide trace scenarios) or simply create
a new one.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Tested-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Robert Walker <robert.walker@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-25 22:00:17 +02:00
..
coresight coresight: tmc-etr: Refactor function tmc_etr_setup_perf_buf() 2019-04-25 22:00:17 +02:00
intel_th intel_th: gth: Fix an off-by-one in output unassigning 2019-03-01 09:20:38 +01:00
stm stm class: Prevent division by zero 2019-02-21 17:44:18 +02:00
Kconfig hwtracing: Add HW tracing support menu 2018-03-29 13:38:10 +03:00