Re: [RFC PATCH 1/3] STM trace event: Adding generic buffer interface driver

2015-06-06 Thread Paul Bolle
On Fri, 2015-06-05 at 13:37 +0800, Chunyan Zhang wrote: > --- a/drivers/stm/Kconfig > +++ b/drivers/stm/Kconfig > +config STM_TRACE_EVENT > + tristate "Redirect/copy the output from kernel trace event to > STM engine" > + depends on STM > + help > + This option can be use

[RFC PATCH 1/3] STM trace event: Adding generic buffer interface driver

2015-06-04 Thread Chunyan Zhang
From: Mathieu Poirier This patch adds a driver that models itself as an stm_source and who's sole purpose is to export an interface to the rest of the kernel. Once the stm and stm_source have been linked via sysfs, everything that is passed to the interface will endup in the STM trace engine. S