Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- arch/sparc/include/asm/thread_info_32.h | 2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6-lttng/arch/sparc/include/asm/thread_info_32.h =================================================================== --- linux-2.6-lttng.orig/arch/sparc/include/asm/thread_info_32.h 2009-01-09 18:15:54.000000000 -0500 +++ linux-2.6-lttng/arch/sparc/include/asm/thread_info_32.h 2009-01-09 18:17:48.000000000 -0500 @@ -130,6 +130,7 @@ BTFIXUPDEF_CALL(void, free_thread_info, #define TIF_SIGPENDING 2 /* signal pending */ #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_RESTORE_SIGMASK 4 /* restore signal mask in do_signal() */ +#define TIF_KERNEL_TRACE 5 /* kernel trace active */ #define TIF_USEDFPU 8 /* FPU was used by this task * this quantum (SMP) */ #define TIF_POLLING_NRFLAG 9 /* true if poll_idle() is polling @@ -139,6 +140,7 @@ BTFIXUPDEF_CALL(void, free_thread_info, /* as above, but as bit values */ #define _TIF_SYSCALL_TRACE (1<