]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcafab551c4d980e12e0d12c3ce82c2c2fbcc0f1f
treef97dbe73d38b893ee5a2458a1d97490789e6ccb0
parentc25e6ce1ad61ef103869365cb23fdac615cc51a5
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