[PATCH 0/9] tracing: Convert some trace events to DEFINE_TRACE

From: Li Zefan
Date: Thu Nov 26 2009 - 02:03:20 EST


Convert some trace events defined in include/trace/events/*.h
to DEFINE_TRACE and DEFINE_TRACE_PRINT.

This reduces hundreds of code lines, and shrinks the size
of object files.

Tested by comparing the formats of each trace_event before
and after patching.

This patchset is based on -tip tree, but I've conformed the
ext4 bits won't conflict with ext4 tree.

---
include/trace/events/block.h | 202 ++++++++------------------------------
include/trace/events/ext4.h | 129 +++++++------------------
include/trace/events/irq.h | 46 ++++-----
include/trace/events/jbd2.h | 63 ++----------
include/trace/events/kmem.h | 130 ++++++++-----------------
include/trace/events/module.h | 22 ++---
include/trace/events/power.h | 36 +++----
include/trace/events/sched.h | 18 +---
include/trace/events/workqueue.h | 22 ++---
mm/page_alloc.c | 4 +-
mm/util.c | 3 -
11 files changed, 187 insertions(+), 488 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/