From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760954AbZCOUbs (ORCPT ); Sun, 15 Mar 2009 16:31:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754999AbZCOU0I (ORCPT ); Sun, 15 Mar 2009 16:26:08 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:58972 "EHLO smtp.polymtl.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758997AbZCOU0B (ORCPT ); Sun, 15 Mar 2009 16:26:01 -0400 Message-Id: <20090315200507.708289912@polymtl.ca> References: <20090315200144.017321577@polymtl.ca> User-Agent: quilt/0.46-1 Date: Sun, 15 Mar 2009 16:02:03 -0400 From: Mathieu Desnoyers To: Ingo Molnar , akpm@linux-foundation.org, Frederic Weisbecker , Steven Rostedt , LKML Cc: Mathieu Desnoyers Subject: [RFC patch 19/20] LTTng Kernel Trace Thread Flag xtensa Content-Disposition: inline; filename=lttng-kernel-trace-thread-flag-xtensa.patch X-Poly-FromMTA: (test.casi.polymtl.ca [132.207.72.60]) at Sun, 15 Mar 2009 20:24:32 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a thread flag to activate system-wide syscall tracing. Signed-off-by: Mathieu Desnoyers --- arch/xtensa/include/asm/thread_info.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/arch/xtensa/include/asm/thread_info.h =================================================================== --- linux-2.6-lttng.orig/arch/xtensa/include/asm/thread_info.h 2009-03-15 15:51:26.000000000 -0400 +++ linux-2.6-lttng/arch/xtensa/include/asm/thread_info.h 2009-03-15 15:57:21.000000000 -0400 @@ -133,6 +133,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_FREEZE 17 /* is freezing for suspend */ @@ -141,11 +142,12 @@ static inline struct thread_info *curren #define _TIF_NEED_RESCHED (1<