[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1236401580-5758-1-git-send-email-fweisbec@gmail.com>
Date: Sat, 7 Mar 2009 05:52:58 +0100
From: Frederic Weisbecker <fweisbec@...il.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: LKML <linux-kernel@...r.kernel.org>,
Lai Jiangshan <laijs@...fujitsu.com>,
Steven Rostedt <rostedt@...dmis.org>,
Peter Zijlstra <peterz@...radead.org>,
Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>,
Jiaying Zhang <jiayingz@...gle.com>,
Martin Bligh <mbligh@...gle.com>,
Frederic Weisbecker <fweisbec@...il.com>
Subject: [RFC][PATCH 0/2] Syscalls tracing
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists