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/trace.h | |
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/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index c5e1d8865fe4..3d49daae47dc 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -30,6 +30,8 @@ enum trace_type { | |||
30 | TRACE_GRAPH_ENT, | 30 | TRACE_GRAPH_ENT, |
31 | TRACE_USER_STACK, | 31 | TRACE_USER_STACK, |
32 | TRACE_HW_BRANCHES, | 32 | TRACE_HW_BRANCHES, |
33 | TRACE_SYSCALL_ENTER, | ||
34 | TRACE_SYSCALL_EXIT, | ||
33 | TRACE_KMEM_ALLOC, | 35 | TRACE_KMEM_ALLOC, |
34 | TRACE_KMEM_FREE, | 36 | TRACE_KMEM_FREE, |
35 | TRACE_POWER, | 37 | TRACE_POWER, |