[RFC][PATCH 0/2] Syscalls tracing

From: Frederic Weisbecker
Date: Fri Mar 06 2009 - 23:53:28 EST


Here is a first attempt, quick one-shot, to provide a syscall tracing
infrastructure on ftrace.

The RFC prefix is here to reflect its ugliness on various parts.
The compromise between tracing reliabilty and speed is hard to balance.
For example I guess the basic and horrid string mask should be dropped in favour
of something else, which takes care of the volatile strings from the userspace.

But I hope a lot of ideas to make it better will come along this discussion.

Frederic Weisbecker (2):
tracing/ftrace: syscall tracing infrastructure
tracing/x86: basic implementation of syscall tracing for x86-64

arch/x86/Kconfig | 1 +
arch/x86/include/asm/ftrace.h | 7 +
arch/x86/include/asm/thread_info.h | 9 +-
arch/x86/kernel/ftrace.c | 15 ++
arch/x86/kernel/ptrace.c | 7 +
include/linux/ftrace.h | 44 ++++++
kernel/trace/Kconfig | 10 ++
kernel/trace/Makefile | 1 +
kernel/trace/trace.c | 6 +
kernel/trace/trace.h | 32 ++++
kernel/trace/trace_syscalls.c | 284 ++++++++++++++++++++++++++++++++++++
11 files changed, 413 insertions(+), 3 deletions(-)
create mode 100644 kernel/trace/trace_syscalls.c

--
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/