Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers CC: Thomas Gleixner CC: Ingo Molnar CC: H. Peter Anvin --- include/asm-i386/thread_info.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/include/asm-x86/thread_info_32.h =================================================================== --- linux-2.6-lttng.orig/include/asm-x86/thread_info_32.h 2007-07-30 19:41:44.000000000 -0400 +++ linux-2.6-lttng/include/asm-x86/thread_info_32.h 2007-07-30 20:07:03.000000000 -0400 @@ -132,6 +132,7 @@ static inline struct thread_info *curren #define TIF_SYSCALL_AUDIT 6 /* syscall auditing active */ #define TIF_SECCOMP 7 /* secure computing */ #define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */ +#define TIF_KERNEL_TRACE 9 /* kernel trace active */ #define TIF_MEMDIE 16 #define TIF_DEBUG 17 /* uses debug registers */ #define TIF_IO_BITMAP 18 /* uses I/O bitmap */ @@ -147,6 +148,7 @@ static inline struct thread_info *curren #define _TIF_SYSCALL_AUDIT (1<