RFC tracing/perf: Use helper functions to help shrink kernel size
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tracing: Move print code from macro to standalone functioninclude/ include/ kernel/ | +51 | 0 replies | |
| 2/4 | tracing: Move event storage for array from macro to standalone functioninclude/ include/ kernel/ +2 more | +32 | 0 replies | |
| 3/4 | tracing: Use helper functions in event assignment to shrink macro sizeinclude/ include/ kernel/ | +46 | 0 replies | |
| 4/4 | perf/events: Use helper functions in event assignment to shrink macro sizeinclude/ include/ kernel/ | +47 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/4] tracing/perf: Use helper functions to help shrink kernel size
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(-)