On 2021-12-14 11:58:37 [-0500], Steven Rostedt wrote: > On Tue, 14 Dec 2021 18:34:50 +0200 > Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > > > Looks lightly tedious. Can't we have "slow" (or whatever) versions of > > the trace macros so we could just declare these the same was as before > > without having to manually write that wrapper for every event? > > That would be quite tedious as well ;-) … > It may be possible to do, but it will be far from trivial, and I'm not sure > I want this to be an easy option. Locks should not be taken from trace > events in general, as they are not tested with lockdep when the trace > points are not enabled, and could hide deadlocks that may not appear until > running on production. So we disable the tracing points or try what Steven suggested? > -- Steve Sebastian