Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 8 of 8) sorted by relevance

/kernel/
Dtsacct.c31 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() argument
46 stats->ac_etime = ac_etime; in bacct_add_tsk()
47 stats->ac_btime = get_seconds() - ts.tv_sec; in bacct_add_tsk()
49 stats->ac_exitcode = tsk->exit_code; in bacct_add_tsk()
51 stats->ac_flag |= AFORK; in bacct_add_tsk()
54 stats->ac_flag |= ASU; in bacct_add_tsk()
56 stats->ac_flag |= ACORE; in bacct_add_tsk()
58 stats->ac_flag |= AXSIG; in bacct_add_tsk()
59 stats->ac_nice = task_nice(tsk); in bacct_add_tsk()
60 stats->ac_sched = tsk->policy; in bacct_add_tsk()
[all …]
Dtaskstats.c180 struct task_struct *tsk, struct taskstats *stats) in fill_stats() argument
182 memset(stats, 0, sizeof(*stats)); in fill_stats()
190 delayacct_add_tsk(stats, tsk); in fill_stats()
193 stats->version = TASKSTATS_VERSION; in fill_stats()
194 stats->nvcsw = tsk->nvcsw; in fill_stats()
195 stats->nivcsw = tsk->nivcsw; in fill_stats()
196 bacct_add_tsk(user_ns, pid_ns, stats, tsk); in fill_stats()
199 xacct_add_tsk(stats, tsk); in fill_stats()
202 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() argument
213 fill_stats(current_user_ns(), task_active_pid_ns(current), tsk, stats); in fill_stats_for_pid()
[all …]
Dlockdep_proc.c367 struct lock_class_stats stats; member
372 struct lock_stat_data stats[MAX_LOCKDEP_KEYS]; member
383 nl = dl->stats.read_waittime.nr + dl->stats.write_waittime.nr; in lock_stat_cmp()
384 nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr; in lock_stat_cmp()
430 struct lock_class_stats *stats; in seq_stats() local
434 stats = &data->stats; in seq_stats()
461 if (stats->write_holdtime.nr) { in seq_stats()
462 if (stats->read_holdtime.nr) in seq_stats()
467 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_write]); in seq_stats()
468 seq_lock_time(m, &stats->write_waittime); in seq_stats()
[all …]
Dlockdep.c206 struct lock_class_stats stats; in lock_stats() local
209 memset(&stats, 0, sizeof(struct lock_class_stats)); in lock_stats()
214 for (i = 0; i < ARRAY_SIZE(stats.contention_point); i++) in lock_stats()
215 stats.contention_point[i] += pcs->contention_point[i]; in lock_stats()
217 for (i = 0; i < ARRAY_SIZE(stats.contending_point); i++) in lock_stats()
218 stats.contending_point[i] += pcs->contending_point[i]; in lock_stats()
220 lock_time_add(&pcs->read_waittime, &stats.read_waittime); in lock_stats()
221 lock_time_add(&pcs->write_waittime, &stats.write_waittime); in lock_stats()
223 lock_time_add(&pcs->read_holdtime, &stats.read_holdtime); in lock_stats()
224 lock_time_add(&pcs->write_holdtime, &stats.write_holdtime); in lock_stats()
[all …]
Drcutorture.c366 int (*stats)(char *page); member
457 .stats = NULL,
500 .stats = NULL,
517 .stats = NULL,
559 .stats = NULL,
575 .stats = NULL,
591 .stats = NULL,
680 .stats = srcu_torture_stats,
694 .stats = srcu_torture_stats,
718 .stats = srcu_torture_stats,
[all …]
Dcgroup.c3544 int cgroupstats_build(struct cgroupstats *stats, struct dentry *dentry) in cgroupstats_build() argument
3566 stats->nr_running++; in cgroupstats_build()
3569 stats->nr_sleeping++; in cgroupstats_build()
3572 stats->nr_uninterruptible++; in cgroupstats_build()
3575 stats->nr_stopped++; in cgroupstats_build()
3579 stats->nr_io_wait++; in cgroupstats_build()
/kernel/sched/
DMakefile17 obj-$(CONFIG_SCHEDSTATS) += stats.o
/kernel/trace/
DKconfig573 It will output the stats of each per cpu buffer. What