Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- arch/xtensa/include/asm/thread_info.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/arch/xtensa/include/asm/thread_info.h =================================================================== --- linux-2.6-lttng.orig/arch/xtensa/include/asm/thread_info.h 2009-01-09 18:15:54.000000000 -0500 +++ linux-2.6-lttng/arch/xtensa/include/asm/thread_info.h 2009-01-09 18:17:49.000000000 -0500 @@ -133,6 +133,7 @@ static inline struct thread_info *curren #define TIF_IRET 4 /* return with iret */ #define TIF_MEMDIE 5 #define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */ +#define TIF_KERNEL_TRACE 7 /* kernel trace active */ #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_FREEZE 17 /* is freezing for suspend */ @@ -141,11 +142,12 @@ static inline struct thread_info *curren #define _TIF_NEED_RESCHED (1<