Searched refs:schedstat_enabled (Results 1 – 7 of 7) sorted by relevance
37 #define schedstat_enabled() static_branch_unlikely(&sched_schedstats) macro39 #define schedstat_inc(var) do { if (schedstat_enabled()) { var++; } } while (0)41 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0)43 #define schedstat_set(var, val) do { if (schedstat_enabled()) { var = (val); } } while (0)45 #define schedstat_val_or_zero(var) ((schedstat_enabled()) ? (var) : 0)58 if (schedstat_enabled()) in check_schedstat_required()75 # define schedstat_enabled() 0 macro
467 if (schedstat_enabled()) { in print_cfs_group_stats()762 if (schedstat_enabled()) { in print_cpu()970 if (schedstat_enabled()) { in proc_sched_show_task()
1551 if (!schedstat_enabled()) in update_stats_wait_start_dl()1563 if (!schedstat_enabled()) in update_stats_wait_end_dl()1575 if (!schedstat_enabled()) in update_stats_enqueue_sleeper_dl()1586 if (!schedstat_enabled()) in update_stats_enqueue_dl()1599 if (!schedstat_enabled()) in update_stats_dequeue_dl()
1357 if (!schedstat_enabled()) in update_stats_wait_start_rt()1376 if (!schedstat_enabled()) in update_stats_enqueue_sleeper_rt()1393 if (!schedstat_enabled()) in update_stats_enqueue_rt()1406 if (!schedstat_enabled()) in update_stats_wait_end_rt()1425 if (!schedstat_enabled()) in update_stats_dequeue_rt()
1933 if (schedstat_enabled()) in sched_core_account_forceidle()1941 if (sched_core_enabled(rq) && schedstat_enabled()) in sched_core_tick()
909 if (schedstat_enabled()) { in update_curr()945 if (!schedstat_enabled()) in update_stats_wait_start_fair()962 if (!schedstat_enabled()) in update_stats_wait_end_fair()988 if (!schedstat_enabled()) in update_stats_enqueue_sleeper_fair()1005 if (!schedstat_enabled()) in update_stats_enqueue_fair()1023 if (!schedstat_enabled()) in update_stats_dequeue_fair()5015 if (schedstat_enabled() && in set_next_entity()
3734 if (!schedstat_enabled()) in ttwu_stat()4646 if (!schedstat_enabled()) { in force_schedstat_enabled()6256 if (schedstat_enabled() && rq->core->core_forceidle_count) { in pick_next_task()11109 if (schedstat_enabled() && tg != &root_task_group) { in cpu_cfs_stat_show()