Re: [PATCH v4 15/16] module: Move where we mark modules RO,X
From: Steven Rostedt
Date: Tue Oct 22 2019 - 16:40:28 EST
On Tue, 22 Oct 2019 22:24:01 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> The below seems to cure it; and seems to generate identical
> events/*/format output (for my .config, with the exception of ID).
>
> It has just one section mismatch report that I'm too tired to look at
> just now.
Thanks, I'll try to take a look at it tomorrow.
>
> I'm not particularly proud of the "__function__" hack, but it works :/ I
If anything, that should be defined as a macro:
#define TRACE_EVENT_FIELD_SPECIAL "__trace_event_special__"
And use that to test?
> couldn't come up with anything else for [uk]probes which seem to have
> dynamic fields and if we're having it then syscall_enter can also make
> use of it, the syscall_metadata crud was going to be ugly otherwise.
>
> (also, win on LOC)
I'm more worried about text/data bloat. But if anything, we may be able
to deal with that later.
-- Steve