Re: [PATCH V8 3/3] stm: Mark the functions of writing buffer with notrace

2016-11-20 Thread Chunyan Zhang
On 18 November 2016 at 22:45, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen >> to sink via STM, all functions that related to writing data packets to >> STM should be marked 'notrace' to avoid being traced by Ftra

Re: [PATCH V8 3/3] stm: Mark the functions of writing buffer with notrace

2016-11-18 Thread Alexander Shishkin
Chunyan Zhang writes: > If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen > to sink via STM, all functions that related to writing data packets to > STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise > the program would stall into an endless loop. >

[PATCH V8 3/3] stm: Mark the functions of writing buffer with notrace

2016-11-17 Thread Chunyan Zhang
If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Signed-off-by: Chunyan Zhang Ac