lkml.org 
[lkml]   [2009]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/9] tracing: Convert some trace events to DEFINE_TRACE
From
Date
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(-)
>



\
 
 \ /
  Last update: 2009-11-26 08:35    [W:0.819 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site