Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED]
---
include/asm-sparc64/thread_info.h |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-sparc64/thread_info.h
===
--- linux-2.6-lttng.orig/include/asm-sparc64/thread_info.h 2007-07-30
18:24:15.0 -0400
+++ linux-2.6-lttng/include/asm-sparc64/thread_info.h 2007-07-30
18:25:43.0 -0400
@@ -225,7 +225,7 @@ register struct thread_info *current_thr
#define TIF_UNALIGNED 5 /* allowed to do unaligned accesses */
#define TIF_NEWSIGNALS 6 /* wants new-style signals */
#define TIF_32BIT 7 /* 32-bit binary */
-/* flag bit 8 is available */
+#define TIF_KERNEL_TRACE 8 /* kernel trace active */
#define TIF_SECCOMP9 /* secure computing */
#define TIF_SYSCALL_AUDIT 10 /* syscall auditing active */
/* flag bit 11 is available */
@@ -244,6 +244,7 @@ register struct thread_info *current_thr
#define _TIF_UNALIGNED (1TIF_UNALIGNED)
#define _TIF_NEWSIGNALS(1TIF_NEWSIGNALS)
#define _TIF_32BIT (1TIF_32BIT)
+#define _TIF_KERNEL_TRACE (1TIF_KERNEL_TRACE)
#define _TIF_SECCOMP (1TIF_SECCOMP)
#define _TIF_SYSCALL_AUDIT (1TIF_SYSCALL_AUDIT)
#define _TIF_RESTORE_SIGMASK (1TIF_RESTORE_SIGMASK)
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/