Home
last modified time | relevance | path

Searched refs:schedstat_enabled (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/kernel/sched/
Dstats.h37 #define schedstat_enabled() static_branch_unlikely(&sched_schedstats) macro
39 #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
Ddebug.c509 if (schedstat_enabled()) { in print_cfs_group_stats()
806 if (schedstat_enabled()) { in print_cpu()
1011 if (schedstat_enabled()) { in proc_sched_show_task()
Ddeadline.c1540 if (!schedstat_enabled()) in update_stats_wait_start_dl()
1552 if (!schedstat_enabled()) in update_stats_wait_end_dl()
1564 if (!schedstat_enabled()) in update_stats_enqueue_sleeper_dl()
1575 if (!schedstat_enabled()) in update_stats_enqueue_dl()
1588 if (!schedstat_enabled()) in update_stats_dequeue_dl()
Drt.c1346 if (!schedstat_enabled()) in update_stats_wait_start_rt()
1365 if (!schedstat_enabled()) in update_stats_enqueue_sleeper_rt()
1382 if (!schedstat_enabled()) in update_stats_enqueue_rt()
1395 if (!schedstat_enabled()) in update_stats_wait_end_rt()
1414 if (!schedstat_enabled()) in update_stats_dequeue_rt()
Dsched.h1966 if (schedstat_enabled()) in sched_core_account_forceidle()
1974 if (sched_core_enabled(rq) && schedstat_enabled()) in sched_core_tick()
Dfair.c1165 if (schedstat_enabled()) { in update_curr()
1202 if (!schedstat_enabled()) in update_stats_wait_start_fair()
1219 if (!schedstat_enabled()) in update_stats_wait_end_fair()
1245 if (!schedstat_enabled()) in update_stats_enqueue_sleeper_fair()
1262 if (!schedstat_enabled()) in update_stats_enqueue_fair()
1280 if (!schedstat_enabled()) in update_stats_dequeue_fair()
5338 if (schedstat_enabled() && in set_next_entity()
Dcore.c3727 if (!schedstat_enabled()) in ttwu_stat()
4622 if (!schedstat_enabled()) { in force_schedstat_enabled()
6224 if (schedstat_enabled() && rq->core->core_forceidle_count) { in pick_next_task()
11130 if (schedstat_enabled() && tg != &root_task_group) { in cpu_cfs_stat_show()