Re: [PATCH 1/2] tracing: Move syscalls metadata handling from archto core

From: Ingo Molnar
Date: Sat Sep 19 2009 - 03:16:35 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> 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 <fweisbec@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Li Zefan <lizf@xxxxxxxxxxxxxx>
> Cc: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> Cc: Jason Baron <jbaron@xxxxxxxxxx>
> Cc: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
> Cc: Paul Mundt <lethal@xxxxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/