Re: [RFC PATCH 1/4] STM Ftrace: Adding generic buffer interface driver

2016-06-13 Thread Chunyan Zhang
On Wed, Jun 8, 2016 at 8:13 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> On Tue, Jun 7, 2016 at 6:25 PM, Alexander Shishkin >> wrote: >>> Chunyan Zhang writes: >>> This patch adds a driver that models itself as an stm_source and who's sole purpose is to export an interfa

Re: [RFC PATCH 1/4] STM Ftrace: Adding generic buffer interface driver

2016-06-08 Thread Alexander Shishkin
Chunyan Zhang writes: > On Tue, Jun 7, 2016 at 6:25 PM, Alexander Shishkin > wrote: >> Chunyan Zhang writes: >> >>> 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

Re: [RFC PATCH 1/4] STM Ftrace: Adding generic buffer interface driver

2016-06-08 Thread Chunyan Zhang
On Tue, Jun 7, 2016 at 6:25 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> 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, >> everyth

Re: [RFC PATCH 1/4] STM Ftrace: Adding generic buffer interface driver

2016-06-07 Thread Alexander Shishkin
Chunyan Zhang writes: > 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