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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dtsacct_kern.h2 * tsacct_kern.h - kernel header for system accounting over taskstats interface
10 #include <linux/taskstats.h>
13 extern void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk);
15 static inline void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk)
20 extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p);
24 static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)
H A Dcgroupstats.h19 #include <linux/taskstats.h>
23 * basis. This data is shared using taskstats.
H A Dtaskstats_kern.h10 #include <linux/taskstats.h>
H A Ddelayacct.h40 extern int __delayacct_add_tsk(struct taskstats *, struct task_struct *);
97 static inline int delayacct_add_tsk(struct taskstats *d,
139 static inline int delayacct_add_tsk(struct taskstats *d,
H A Dtaskstats.h0 /* taskstats.h - exporting per-task statistics
40 struct taskstats { struct
43 * TAKSTATS_VERSION, which is defined in <linux/taskstats.h>.
188 TASKSTATS_TYPE_STATS, /* taskstats structure */
H A Dsched.h617 struct taskstats *stats;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dtaskstats.c2 * taskstats.c - Export per-task statistics to userland
108 * Send taskstats data in @skb to listener with nl_pid @pid
126 * Send taskstats data in @skb to listeners registered for @cpu's exit data
179 struct taskstats *stats)
220 struct taskstats *stats)
266 * fields of taskstats.
358 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid)
372 ret = nla_reserve(skb, TASKSTATS_TYPE_STATS, sizeof(struct taskstats));
431 struct taskstats *stats;
461 nla_total_size(sizeof(struct taskstats))
[all...]
H A Dtsacct.c2 * tsacct.c - System accounting over taskstats interface
29 void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk)
86 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)
H A Ddelayacct.c18 #include <linux/taskstats.h>
100 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk)
H A DMakefile92 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/accounting/
H A Dgetdelays.c4 * Also illustrates usage of the taskstats interface
27 #include <linux/taskstats.h>
193 static void print_delayacct(struct taskstats *t)
219 static void task_context_switch_counts(struct taskstats *t)
238 static void print_ioacct(struct taskstats *t)
455 print_delayacct((struct taskstats *) NLA_DATA(na));
457 print_ioacct((struct taskstats *) NLA_DATA(na));
459 task_context_switch_counts((struct taskstats *) NLA_DATA(na));

Completed in 114 milliseconds