Define DO_TRACEPOINT

Define Documentation

DO_TRACEPOINT(...)

Call a tracepoint, without checking if it is enabled.

Combine this with TRACEPOINT_ENABLED() to check if a tracepoint is enabled before triggering it.

The first argument is mandatory and should be the tracepoint event name. The other arguments should be the tracepoint arguments. This is the preferred method over calling the underlying function directly.

This macro currently supports up to 9 tracepoint arguments after the event name.