Searched refs:taskstats (Results 1 - 12 of 12) sorted by relevance

/linux-master/include/linux/
H A Dtsacct_kern.h3 * tsacct_kern.h - kernel header for system accounting over taskstats interface
11 #include <linux/taskstats.h>
16 struct taskstats *stats, struct task_struct *tsk);
20 struct taskstats *stats, struct task_struct *tsk)
25 extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p);
30 static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)
H A Dtaskstats_kern.h11 #include <linux/taskstats.h>
H A Ddelayacct.h10 #include <uapi/linux/taskstats.h>
75 extern int delayacct_add_tsk(struct taskstats *, struct task_struct *);
242 static inline int delayacct_add_tsk(struct taskstats *d,
/linux-master/include/uapi/linux/
H A Dcgroupstats.h20 #include <linux/taskstats.h>
24 * basis. This data is shared using taskstats.
H A Dtaskstats.h2 /* taskstats.h - exporting per-task statistics
41 struct taskstats { struct
44 * TAKSTATS_VERSION, which is defined in <linux/taskstats.h>.
227 TASKSTATS_TYPE_STATS, /* taskstats structure */
/linux-master/kernel/
H A Dtaskstats.c3 * taskstats.c - Export per-task statistics to userland
95 * Send taskstats data in @skb to listener with nl_pid @pid
108 * Send taskstats data in @skb to listeners registered for @cpu's exit data
157 static void exe_add_tsk(struct taskstats *stats, struct task_struct *tsk)
176 struct task_struct *tsk, struct taskstats *stats)
201 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats)
213 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats)
270 * fields of taskstats.
376 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid)
394 sizeof(struct taskstats), TASKSTATS_TYPE_NUL
[all...]
H A Dtsacct.c3 * tsacct.c - System accounting over taskstats interface
22 struct taskstats *stats, struct task_struct *tsk)
91 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)
H A Ddelayacct.c12 #include <linux/taskstats.h>
129 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk)
H A DMakefile102 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
/linux-master/tools/accounting/
H A Dgetdelays.c5 * Also illustrates usage of the taskstats interface
29 #include <linux/taskstats.h>
196 static void print_delayacct(struct taskstats *t)
251 static void task_context_switch_counts(struct taskstats *t)
270 static void print_ioacct(struct taskstats *t)
516 print_delayacct((struct taskstats *) NLA_DATA(na));
518 print_ioacct((struct taskstats *) NLA_DATA(na));
520 task_context_switch_counts((struct taskstats *) NLA_DATA(na));
H A Dprocacct.c19 * Also illustrates usage of the taskstats interface
41 #include <linux/taskstats.h>
203 static void print_procacct(struct taskstats *t)
243 print_procacct((struct taskstats *) NLA_DATA(na));
/linux-master/include/linux/sched/
H A Dsignal.h220 struct taskstats *stats;

Completed in 152 milliseconds