tracing: use the new trace_entries.h to create format files
authorSteven Rostedt <srostedt@redhat.com>
Sat, 12 Sep 2009 23:26:21 +0000 (19:26 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sun, 13 Sep 2009 03:08:10 +0000 (23:08 -0400)
commit4e5292ea1ac0c2939e815e6c44fad3d8696ea281
treef97dbe73d38b893ee5a2458a1d97490789e6ccb0
parentd73150943cf47b6cabcb4f4e52dd25975e820ae2
tracing: use the new trace_entries.h to create format files

This patch changes the way the format files in

  debugfs/tracing/events/ftrace/*/format

are created. It uses the new trace_entries.h file to automate the
creation of the format files to ensure that they are always in sync
with the actual structures. This is the same methodology used to
create the format files for the TRACE_EVENT macro.

This also updates the filter creation that was built on the creation
of the format files.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_events.c
kernel/trace/trace_export.c