diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2015-09-22 15:47:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 20:28:58 +0100 |
commit | ba82664c134ef7ab97808f09a3c5e894b0a4900d (patch) | |
tree | ba2e8cb6cd816dd2ec05a678c3c9b3688d73d66f /drivers/hwtracing/intel_th/Kconfig | |
parent | f04e449fc76e7bfd1b8ed11967ab092d05355b6b (diff) | |
download | linux-stable-ba82664c134ef7ab97808f09a3c5e894b0a4900d.tar.gz linux-stable-ba82664c134ef7ab97808f09a3c5e894b0a4900d.tar.bz2 linux-stable-ba82664c134ef7ab97808f09a3c5e894b0a4900d.zip |
intel_th: Add Memory Storage Unit driver
Memory Storage Unit (MSU) is a trace output device that collects trace
data to system memory. It consists of 2 independent Memory Storage
Controllers (MSCs).
This driver provides userspace interfaces to configure in-memory tracing
parameters, such as contiguous (high-order allocation) buffer or multiblock
(scatter list) buffer mode, wrapping (data overwrite) and number and sizes
of windows in multiblock mode. Userspace can read the buffers via mmap()ing
or read()ing of the corresponding device node.
Signed-off-by: Laurent Fert <laurent.fert@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/intel_th/Kconfig')
-rw-r--r-- | drivers/hwtracing/intel_th/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwtracing/intel_th/Kconfig b/drivers/hwtracing/intel_th/Kconfig index b0855026c9f3..d9a1217e27bf 100644 --- a/drivers/hwtracing/intel_th/Kconfig +++ b/drivers/hwtracing/intel_th/Kconfig @@ -44,6 +44,16 @@ config INTEL_TH_STH Say Y here to enable STH subdevice of Intel(R) Trace Hub. +config INTEL_TH_MSU + tristate "Intel(R) Trace Hub Memory Storage Unit" + help + Memory Storage Unit (MSU) trace output device enables + storing STP traces to system memory. It supports single + and multiblock modes of operation and provides read() + and mmap() access to the collected data. + + Say Y here to enable MSU output device for Intel TH. + config INTEL_TH_DEBUG bool "Intel(R) Trace Hub debugging" depends on DEBUG_FS |