Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- arch/m32r/include/asm/thread_info.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/arch/m32r/include/asm/thread_info.h =================================================================== --- linux-2.6-lttng.orig/arch/m32r/include/asm/thread_info.h 2009-05-09 11:39:23.000000000 -0400 +++ linux-2.6-lttng/arch/m32r/include/asm/thread_info.h 2009-05-09 11:40:38.000000000 -0400 @@ -151,6 +151,7 @@ static inline unsigned int get_thread_fa #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ #define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */ #define TIF_IRET 4 /* return with iret */ +#define TIF_KERNEL_TRACE 5 /* kernel trace active */ #define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */ #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ @@ -162,13 +163,17 @@ static inline unsigned int get_thread_fa #define _TIF_NEED_RESCHED (1<