This patch set is another effort to bring down the size of trace events. Helper functions are used to remove duplicate code that is created for each event by the TRACE_EVENT() macros. With a config that enables 707 events in the core kernel, the size is brought down 91,774 bytes!
Steven Rostedt (4): tracing: Move print code from macro to standalone function tracing: Move event storage for array from macro to standalone function tracing: Use helper functions in event assignment to shrink macro size perf/events: Use helper functions in event assignment to shrink macro size ---- include/linux/ftrace_event.h | 40 +++++++++++++++-- include/trace/ftrace.h | 85 +++++++++--------------------------- kernel/trace/trace_event_perf.c | 26 +++++++++++ kernel/trace/trace_events.c | 6 --- kernel/trace/trace_export.c | 12 ++---- kernel/trace/trace_output.c | 90 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 176 insertions(+), 83 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/