Re: [PATCH 00/18] [ANNOUNCE] Dynamically created function based events
From: Steven Rostedt
Date: Mon Feb 05 2018 - 10:10:27 EST
On Mon, 5 Feb 2018 11:09:31 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> As a run-around, Steve then suggested to decouple the trace-hook from
> the actual trace-event. Let the scheduler only provide the hook, nothing
> else. And then allow users to create their own events with the specific
> data they need for their specific use-case.
Actually, we can make the raw tracepoint callback no longer 'notrace',
and then we can extend all tracepoints as well with this.
One issue I hit was the structure randomization for security. If the
structures are randomized, it becomes much more difficult to find
specific aspects of task_struct.
-- Steve