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-x86/thread_info_64.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/include/asm-x86/thread_info_64.h =================================================================== --- linux-2.6-lttng.orig/include/asm-x86/thread_info_64.h 2007-11-02 11:06:22.000000000 -0400 +++ linux-2.6-lttng/include/asm-x86/thread_info_64.h 2007-11-02 12:02:57.000000000 -0400 @@ -107,6 +107,7 @@ static inline struct thread_info *stack_ * Warning: layout of LSW is hardcoded in entry.S */ #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ +#define TIF_KERNEL_TRACE 1 /* kernel trace active */ #define TIF_SIGPENDING 2 /* signal pending */ #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_SINGLESTEP 4 /* reenable singlestep on user return*/ @@ -125,6 +126,7 @@ static inline struct thread_info *stack_ #define TIF_FREEZE 23 /* is freezing for suspend */ #define _TIF_SYSCALL_TRACE (1<