intel_th: msu-sink: An example msu buffer "sink"
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 5 Jul 2019 14:14:22 +0000 (17:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 11:03:18 +0000 (13:03 +0200)
commitf220df66f67684246ae1bf4a4e479efc7c2f325a
tree5fc0cc3a1a6274535c8f729f8c2eaae2e8ce70b3
parent615c164da0eb42cbfb1688cb429cc4d5039db5d8
intel_th: msu-sink: An example msu buffer "sink"

This patch adds an example MSU buffer "sink", which consumes trace
data from MSC buffers.

Functionally, it acts similarly to "multi" mode with automatic window
switching.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20190705141425.19894-3-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/intel_th/Makefile
drivers/hwtracing/intel_th/msu-sink.c [new file with mode: 0644]