Searched refs:stat (Results 1 – 6 of 6) sorted by relevance
/kernel/trace/ |
D | trace_stat.c | 28 void *stat; member 53 session->ts->stat_release(snode->stat); in __reset_stat_session() 75 static int insert_stat(struct rb_root *root, void *stat, cmp_func_t cmp) in insert_stat() argument 83 data->stat = stat; in insert_stat() 94 result = cmp(data->stat, this->stat); in insert_stat() 127 void *stat; in stat_seq_init() local 137 stat = ts->stat_start(ts); in stat_seq_init() 138 if (!stat) in stat_seq_init() 141 ret = insert_stat(root, stat, ts->stat_cmp); in stat_seq_init() 149 stat = ts->stat_next(stat, i); in stat_seq_init() [all …]
|
D | ftrace.c | 403 struct tracer_stat stat; member 448 struct ftrace_profile_stat *stat = in function_stat_start() local 449 container_of(trace, struct ftrace_profile_stat, stat); in function_stat_start() 451 if (!stat || !stat->start) in function_stat_start() 454 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 565 static void ftrace_profile_reset(struct ftrace_profile_stat *stat) in ftrace_profile_reset() argument 569 pg = stat->pages = stat->start; in ftrace_profile_reset() 577 memset(stat->hash, 0, in ftrace_profile_reset() 581 static int ftrace_profile_pages_init(struct ftrace_profile_stat *stat) in ftrace_profile_pages_init() argument 589 if (stat->pages) in ftrace_profile_pages_init() [all …]
|
D | ring_buffer_benchmark.c | 200 enum event_status stat; in ring_buffer_consumer() local 203 stat = read_event(cpu); in ring_buffer_consumer() 205 stat = read_page(cpu); in ring_buffer_consumer() 210 if (stat == EVENT_FOUND) in ring_buffer_consumer()
|
D | trace_stat.h | 23 void (*stat_release)(void *stat);
|
/kernel/sched/ |
D | cpuacct.c | 266 int stat; in cpuacct_stats_show() local 284 for (stat = 0; stat < CPUACCT_STAT_NSTATS; stat++) { in cpuacct_stats_show() 285 seq_printf(sf, "%s %llu\n", cpuacct_stat_desc[stat], in cpuacct_stats_show() 286 nsec_to_clock_t(val[stat])); in cpuacct_stats_show()
|
/kernel/ |
D | exit.c | 1789 int kernel_wait(pid_t pid, int *stat) in kernel_wait() argument 1800 *stat = wo.wo_stat; in kernel_wait()
|