Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- include/asm-xtensa/thread_info.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/include/asm-xtensa/thread_info.h =================================================================== --- linux-2.6-lttng.orig/include/asm-xtensa/thread_info.h 2007-09-04 11:50:18.000000000 -0400 +++ linux-2.6-lttng/include/asm-xtensa/thread_info.h 2007-09-04 12:20:19.000000000 -0400 @@ -116,6 +116,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_SYSCALL_TRACE (1<