void __update_stats_wait_start(struct rq *rq, struct task_struct *p,
struct sched_statistics *stats)
{ … }
void __update_stats_wait_end(struct rq *rq, struct task_struct *p,
struct sched_statistics *stats)
{ … }
void __update_stats_enqueue_sleeper(struct rq *rq, struct task_struct *p,
struct sched_statistics *stats)
{ … }
#define SCHEDSTAT_VERSION …
static int show_schedstat(struct seq_file *seq, void *v)
{ … }
static void *schedstat_start(struct seq_file *file, loff_t *offset)
{ … }
static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset)
{ … }
static void schedstat_stop(struct seq_file *file, void *data)
{ … }
static const struct seq_operations schedstat_sops = …;
static int __init proc_schedstat_init(void)
{ … }
subsys_initcall(proc_schedstat_init);