+ /*
+ * IPI other cores only if the action has non-system samplers.
+ */
+ if (kperf_action_has_non_system(actionid)) {
+ /*
+ * If the core that's handling the timer is not scheduling
+ * threads, only run system samplers.
+ */
+ system_only_self = kperf_mp_broadcast_other_running(timer);
+ }
+ kperf_sample_cpu(timer, true, system_only_self);