Re: [RFC PATCH 0/2] trace: Move trace data to new section _ftrace_data
From: Steven Rostedt
Date: Tue Feb 18 2020 - 21:53:32 EST
On Tue, 18 Feb 2020 18:03:16 -0800
Joe Perches <joe@xxxxxxxxxxx> wrote:
> Move the trace data to a separate section to make it easier to
> examine the amount of actual data in an object file.
Not that I'm against this patch set, but can you elaborate more on
"make it easier to examine the amount of actual data in an object file".
Also, don't use "_ftrace" as the section name. "ftrace" should be
reserved for the function hook part of tracing, which trace events do
not apply to. "_trace_event_data" would be more appropriate.
-- Steve
>
> Joe Perches (2):
> trace: Move data to new section _ftrace_data
> trace_events/trace_export: Use __section
>
> include/trace/trace_events.h | 36 +++++++++++++++++++++---------------
> kernel/trace/trace_export.c | 13 ++++++++-----
> 2 files changed, 29 insertions(+), 20 deletions(-)
>