tracing: Map syscall name to number
authorJason Baron <jbaron@redhat.com>
Mon, 10 Aug 2009 20:52:13 +0000 (16:52 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 11 Aug 2009 18:35:25 +0000 (20:35 +0200)
commiteeac19a7efa150231e4a6bb110d6f27500bcc8ce
tree99b59b07b3bd56c8ce1a352081280c8de4c177bb
parent7770841e63730d62928b0879498064e9614b2ce0
tracing: Map syscall name to number

Add a new function to support translating a syscall name to number at
runtime.
This allows the syscall event tracer to map syscall names to number.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Jiaying Zhang <jiayingz@google.com>
Cc: Martin Bligh <mbligh@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/kernel/ftrace.c