public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] [GIT PULL] tracing: automate output for ftrace formats
@ 2009-09-13  3:43 Steven Rostedt
  2009-09-13  3:43 ` [PATCH 1/6] tracing: allow filter predicates to handle ksym symbols Steven Rostedt
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Steven Rostedt @ 2009-09-13  3:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ingo Molnar, Andrew Morton, Peter Zijlstra, Frederic Weisbecker,
	Li Zefan, Tom Zanussi

Ingo,

Currently, the output for the format files for the internal ftrace
plugin entries is done by hand. This becomes difficult to maintain
and error prone. If a change happens to a structure, it is likely
that it will not be shown in the format file which binary readers
of ftrace require.

This patch series implements the logic that is used by TRACE_EVENT
to use macros that create the structures and those same macros also
show the output layout in the format files. This guarantees that the
structures and the output formats remain in-sync.

Again, this is based off of tip/tracing/core2

Please pull the latest tip/tracing/core3 tree, which can be found at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/core3


Steven Rostedt (6):
      tracing: allow filter predicates to handle ksym symbols
      tracing: use macros to create internal ftrace entry ring buffer structures
      tracing: show details of structures within the ftrace structures
      tracing: use the new trace_entries.h to create format files
      tracing: remove trace_event_types.h
      tracing: add filter event logic to special, mmiotrace and boot tracers

----
 include/linux/ftrace_event.h     |    4 +-
 kernel/trace/trace.c             |    5 +-
 kernel/trace/trace.h             |  175 ++++-------------
 kernel/trace/trace_boot.c        |    8 +-
 kernel/trace/trace_entries.h     |  392 ++++++++++++++++++++++++++++++++++++++
 kernel/trace/trace_event_types.h |  178 -----------------
 kernel/trace/trace_events.c      |    1 +
 kernel/trace/trace_export.c      |  241 +++++++++++++-----------
 kernel/trace/trace_mmiotrace.c   |   10 +-
 9 files changed, 581 insertions(+), 433 deletions(-)
-- 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-13 14:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13  3:43 [PATCH 0/6] [GIT PULL] tracing: automate output for ftrace formats Steven Rostedt
2009-09-13  3:43 ` [PATCH 1/6] tracing: allow filter predicates to handle ksym symbols Steven Rostedt
2009-09-13  3:43 ` [PATCH 2/6] tracing: use macros to create internal ftrace entry ring buffer structures Steven Rostedt
2009-09-13  3:43 ` [PATCH 3/6] tracing: show details of structures within the ftrace structures Steven Rostedt
2009-09-13  3:43 ` [PATCH 4/6] tracing: use the new trace_entries.h to create format files Steven Rostedt
2009-09-13  3:43 ` [PATCH 5/6] tracing: remove trace_event_types.h Steven Rostedt
2009-09-13  3:43 ` [PATCH 6/6] tracing: add filter event logic to special, mmiotrace and boot tracers Steven Rostedt
2009-09-13 14:59 ` [PATCH 0/6] [GIT PULL] tracing: automate output for ftrace formats Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox