Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- include/asm-m32r/thread_info.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/include/asm-m32r/thread_info.h =================================================================== --- linux-2.6-lttng.orig/include/asm-m32r/thread_info.h 2007-11-28 08:40:56.000000000 -0500 +++ linux-2.6-lttng/include/asm-m32r/thread_info.h 2007-11-28 08:47:42.000000000 -0500 @@ -149,6 +149,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 */ @@ -160,13 +161,17 @@ static inline unsigned int get_thread_fa #define _TIF_NEED_RESCHED (1<