Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- arch/m68k/include/asm/thread_info_mm.h | 1 + arch/m68k/include/asm/thread_info_no.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/arch/m68k/include/asm/thread_info_mm.h =================================================================== --- linux-2.6-lttng.orig/arch/m68k/include/asm/thread_info_mm.h 2009-03-15 15:57:05.000000000 -0400 +++ linux-2.6-lttng/arch/m68k/include/asm/thread_info_mm.h 2009-03-15 15:57:16.000000000 -0400 @@ -49,6 +49,7 @@ struct thread_info { */ #define TIF_SIGPENDING 6 /* signal pending */ #define TIF_NEED_RESCHED 7 /* rescheduling necessary */ +#define TIF_KERNEL_TRACE 13 /* kernel trace active */ #define TIF_DELAYED_TRACE 14 /* single step a syscall */ #define TIF_SYSCALL_TRACE 15 /* syscall trace active */ #define TIF_MEMDIE 16 Index: linux-2.6-lttng/arch/m68k/include/asm/thread_info_no.h =================================================================== --- linux-2.6-lttng.orig/arch/m68k/include/asm/thread_info_no.h 2009-03-15 15:57:05.000000000 -0400 +++ linux-2.6-lttng/arch/m68k/include/asm/thread_info_no.h 2009-03-15 15:57:16.000000000 -0400 @@ -84,6 +84,7 @@ static inline struct thread_info *curren #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_MEMDIE 4 +#define TIF_KERNEL_TRACE 5 /* kernel trace active */ #define TIF_FREEZE 16 /* is freezing for suspend */ /* as above, but as bit values */ @@ -92,8 +93,9 @@ static inline struct thread_info *curren #define _TIF_NEED_RESCHED (1<