[PATCH V2 4/4] stm: Mark the functions of writing buffer with notrace

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

[PATCH V2 4/4] stm: Mark the functions of writing buffer with notrace

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