diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-03-06 23:52:59 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 01:25:43 -0400 |
commit | ee08c6eccb7d1295516f7cf420fddf7b14e9146f (patch) | |
tree | ec6d209e47bb1a8910d16c1c8b4ea65959850689 /kernel/trace/Kconfig | |
parent | 4c6ed8f496fe89ff81b3d6e617a531bedfb613e4 (diff) |
tracing/ftrace: syscall tracing infrastructure, basics
Provide basic callbacks to do syscall tracing.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <1236401580-5758-2-git-send-email-fweisbec@gmail.com>
[ simplified it to a trace_printk() for now. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 8e4a2a61cd75..95a0ad191f19 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -34,6 +34,9 @@ config HAVE_FTRACE_MCOUNT_RECORD | |||
34 | config HAVE_HW_BRANCH_TRACER | 34 | config HAVE_HW_BRANCH_TRACER |
35 | bool | 35 | bool |
36 | 36 | ||
37 | config HAVE_FTRACE_SYSCALLS | ||
38 | bool | ||
39 | |||
37 | config TRACER_MAX_TRACE | 40 | config TRACER_MAX_TRACE |
38 | bool | 41 | bool |
39 | 42 | ||
@@ -175,6 +178,13 @@ config EVENT_TRACER | |||
175 | allowing the user to pick and choose which trace point they | 178 | allowing the user to pick and choose which trace point they |
176 | want to trace. | 179 | want to trace. |
177 | 180 | ||
181 | config FTRACE_SYSCALLS | ||
182 | bool "Trace syscalls" | ||
183 | depends on HAVE_FTRACE_SYSCALLS | ||
184 | select TRACING | ||
185 | help | ||
186 | Basic tracer to catch the syscall entry and exit events. | ||
187 | |||
178 | config BOOT_TRACER | 188 | config BOOT_TRACER |
179 | bool "Trace boot initcalls" | 189 | bool "Trace boot initcalls" |
180 | select TRACING | 190 | select TRACING |