tracing: Convert some trace events to DEFINE_TRACE
Status from this message: I have applied this to for-2.6.33, thanks a lot.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | tracing: Convert module refcnt events to DEFINE_EVENTinclude/ | +7 | 1 reply | |
| 2/9 | tracing: Convert some kmem events to DEFINE_EVENTinclude/ mm/ mm/ | +43 | 18 replies | |
| 3/9 | tracing: Convert softirq events to DEFINE_EVENTinclude/ | +21 | 1 reply | |
| 4/9 | tracing: Convert some workqueue events to DEFINE_EVENTinclude/ | +7 | 1 reply | |
| 5/9 | tracing: Convert some power events to DEFINE_EVENTinclude/ | +15 | 1 reply | |
| 6/9 | tracing: Convert some block events to DEFINE_EVENTinclude/ | +42 | 6 replies | |
| 7/9 | tracing: Convert some jbd2 events to DEFINE_EVENTinclude/ | +11 | 1 reply | |
| 8/9 | tracing: Convert some ext4 events to DEFINE_TRACEinclude/ | +35 | 1 reply | |
| 9/9 | tracing: Restore original format of sched eventsinclude/ | +6 | 1 reply |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Pekka Enberg |
|---|---|
| 1/9 | |
| 2/9 | A-b A-b |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] tracing: Convert some trace events to DEFINE_TRACE
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(-)