mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
TRACE_EVENT_FN can't be used in some circumstances like invoking trace functions from offlined CPU due to RCU usage. This patch adds the TRACE_EVENT_FN_COND macro to make such trace points conditional. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Denis Kirjanov <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>