Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- arch/mips/include/asm/thread_info.h | 4 +++- arch/mips/kernel/entry.S | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/arch/mips/include/asm/thread_info.h =================================================================== --- linux-2.6-lttng.orig/arch/mips/include/asm/thread_info.h 2009-03-23 22:40:31.000000000 -0400 +++ linux-2.6-lttng/arch/mips/include/asm/thread_info.h 2009-03-23 22:41:55.000000000 -0400 @@ -125,6 +125,7 @@ register struct thread_info *__current_t #define TIF_32BIT_ADDR 23 /* 32-bit address space (o32/n32) */ #define TIF_FPUBOUND 24 /* thread bound to FPU-full CPU set */ #define TIF_LOAD_WATCH 25 /* If set, load watch registers */ +#define TIF_KERNEL_TRACE 30 /* kernel trace active */ #define TIF_SYSCALL_TRACE 31 /* syscall trace active */ #ifdef CONFIG_MIPS32_O32 @@ -134,6 +135,7 @@ register struct thread_info *__current_t #endif /* CONFIG_MIPS32_O32 */ #define _TIF_SYSCALL_TRACE (1<