[sheepdog] [PATCH v2 06/10] add notrace to only entry point and exit point

Liu Yuan namei.unix at gmail.com
Fri Aug 9 06:45:52 CEST 2013


On Fri, Aug 09, 2013 at 12:22:00PM +0900, MORITA Kazutaka wrote:
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> 
> It is difficult to know which function needs a notrace directive.  We
> are using notrace to avoid starting tracer recursively while tracing,
> but we can do the similar thing by using a thread local variable.
> With this patch, notrace is necessary only to the entry point
> (tracer_call) and the exit point (tracer_return_call).

How about rename as

trace_call --> trace_function_entry
trace_return_call --> trace_function_exit

Thanks
Yuan



More information about the sheepdog mailing list