Messages in this thread | | | Subject | Re: [PATCH 0/9] tracing: Convert some trace events to DEFINE_TRACE | From | Steven Rostedt <> | Date | Thu, 26 Nov 2009 02:32:56 -0500 |
| |
On Thu, 2009-11-26 at 15:02 +0800, Li Zefan wrote: > 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.
Thanks Li!
Ingo or Frederic,
Can you pull these in and test them. I'm about to celebrate my turkey dinner, and I wont be back until Monday.
-- Steve
> --- > 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(-) >
| |