linux/drivers/hwtracing/coresight
Mathieu Poirier de5461970b coresight: tmc: allocating memory when needed
In it's current form the TMC probe() function allocates
trace buffer memory at boot time, event if coresight isn't
used.  This is highly inefficient since trace buffers can
occupy a lot of memory that could be used otherwised.

This patch allocates trace buffers on the fly, when the
coresight subsystem is solicited.  Allocated buffers are
released when traces are read using the device descriptors
under /dev.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-03 14:59:30 -07:00
..
coresight-etb10.c coresight: etb10: fixing the right amount of words to read 2016-05-03 14:59:30 -07:00
coresight-etm3x-sysfs.c coresight: moving coresight_simple_func() to header file 2016-05-01 14:12:14 -07:00
coresight-etm3x.c drivers/hwtracing: make coresight-* explicitly non-modular 2016-02-20 14:11:01 -08:00
coresight-etm4x-sysfs.c coresight: moving coresight_simple_func() to header file 2016-05-01 14:12:14 -07:00
coresight-etm4x.c coresight: etm4x: add tracer ID for A72 Maia processor. 2016-05-03 14:59:30 -07:00
coresight-etm4x.h coresight: etm4x: modify q_support type 2016-05-03 14:59:30 -07:00
coresight-etm-cp14.c
coresight-etm-perf.c drivers/hwtracing: make coresight-etm-perf.c explicitly non-modular 2016-03-05 12:19:39 -08:00
coresight-etm-perf.h coresight: etm-perf: new PMU driver for ETM tracers 2016-02-20 14:11:01 -08:00
coresight-etm.h coresight: etm3x: implementing user/kernel mode tracing 2016-02-20 14:11:01 -08:00
coresight-funnel.c coresight: removing gratuitous boot time log messages 2016-05-01 14:12:14 -07:00
coresight-priv.h coresight: moving coresight_simple_func() to header file 2016-05-01 14:12:14 -07:00
coresight-replicator-qcom.c drivers/hwtracing: make coresight-* explicitly non-modular 2016-02-20 14:11:01 -08:00
coresight-replicator.c coresight: removing gratuitous boot time log messages 2016-05-01 14:12:14 -07:00
coresight-stm.c coresight: stm: adding driver for CoreSight STM component 2016-05-03 14:59:30 -07:00
coresight-tmc-etf.c coresight: tmc: allocating memory when needed 2016-05-03 14:59:30 -07:00
coresight-tmc-etr.c coresight: tmc: allocating memory when needed 2016-05-03 14:59:30 -07:00
coresight-tmc.c coresight: tmc: allocating memory when needed 2016-05-03 14:59:30 -07:00
coresight-tmc.h coresight: tmc: making prepare/unprepare functions generic 2016-05-03 14:59:30 -07:00
coresight-tpiu.c coresight: removing gratuitous boot time log messages 2016-05-01 14:12:14 -07:00
coresight.c coresight: adding path for STM device 2016-05-03 14:59:30 -07:00
Kconfig coresight: stm: adding driver for CoreSight STM component 2016-05-03 14:59:30 -07:00
Makefile coresight: tmc: splitting driver in ETB/ETF and ETR components 2016-05-03 14:59:30 -07:00
of_coresight.c drivers/hwtracing: make coresight-* explicitly non-modular 2016-02-20 14:11:01 -08:00