On Fri, 8 Apr 2022 14:06:53 -0400 (EDT) Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote: > > Indeed, the fact that the TP_fast_assign snippets are embedded in the > trace_event_raw_event_* symbols is an issue for LTTng. This ties those > to ftrace. Not just ftrace, perf does it too. Now another solution is to make the fast assigns available to anyone, and to allow you to simply pass in a pointer and size to have the data written into it. That is, you get the results of the TRACE_EVENT and not have to depend on internal data from the tracepoint. -- Steve