From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754495AbZISHQ1 (ORCPT ); Sat, 19 Sep 2009 03:16:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751471AbZISHQY (ORCPT ); Sat, 19 Sep 2009 03:16:24 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:38978 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbZISHQX (ORCPT ); Sat, 19 Sep 2009 03:16:23 -0400 Date: Sat, 19 Sep 2009 09:16:16 +0200 From: Ingo Molnar To: Frederic Weisbecker , Martin Schwidefsky , Heiko Carstens Cc: LKML , Steven Rostedt , Li Zefan , Masami Hiramatsu , Jason Baron , Lai Jiangshan , Paul Mundt Subject: Re: [PATCH 1/2] tracing: Move syscalls metadata handling from arch to core Message-ID: <20090919071616.GA15292@elte.hu> References: <1253338757-5918-1-git-send-email-fweisbec@gmail.com> <1253338757-5918-2-git-send-email-fweisbec@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1253338757-5918-2-git-send-email-fweisbec@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Frederic Weisbecker wrote: > Most of the syscalls metadata processing is done from arch. But these > operations are mostly generic accross archs. Especially now that we > have a common variable name that expresses the number of syscalls > supported by an arch: NR_syscalls, the only remaining bits that need > to reside in arch is the syscall nr to addr translation. > > Signed-off-by: Frederic Weisbecker > Cc: Ingo Molnar > Cc: Steven Rostedt > Cc: Li Zefan > Cc: Masami Hiramatsu > Cc: Jason Baron > Cc: Lai Jiangshan > Cc: Heiko Carstens > Cc: Martin Schwidefsky > Cc: Paul Mundt > --- > arch/s390/kernel/ftrace.c | 67 +--------------------------------- > arch/x86/kernel/ftrace.c | 76 +------------------------------------- > include/trace/syscall.h | 2 +- > kernel/trace/trace_syscalls.c | 80 +++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 85 insertions(+), 140 deletions(-) Martin, Heiko, would this cleanup be fine with you? Ingo