]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add ftrace event call parameter to its field descriptor handler
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 11 Aug 2009 15:42:52 +0000 (17:42 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 11 Aug 2009 18:35:29 +0000 (20:35 +0200)
commit5900fa0cd2a509b413fa478342cea0177676b0b1
tree3b20dcf2c7b49fe23e0641805ca7aaac921bc46d
parent6530bb251f18f10aa31a3b8d9560d1fb773c1d45
tracing: Add ftrace event call parameter to its field descriptor handler

Add the struct ftrace_event_call as a parameter of its show_format()
callback. This way we can use it from the syscall trace events to
retrieve the syscall name from the ftrace event call parameter and
describe its fields using the syscalls metadata.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.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>
Cc: Jason Baron <jbaron@redhat.com>
include/linux/ftrace_event.h
include/trace/ftrace.h
kernel/trace/trace_events.c
kernel/trace/trace_export.c