Home
last modified time | relevance | path

Searched refs:taskstats (Results 1 – 25 of 1171) sorted by relevance

12345678910>>...47

/linux/include/linux/
A Dtsacct_kern.h16 struct taskstats *stats, struct task_struct *tsk);
20 struct taskstats *stats, struct task_struct *tsk) in bacct_add_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) in xacct_add_tsk()
A Ddelayacct.h76 extern int delayacct_add_tsk(struct taskstats *, struct task_struct *);
187 static inline int delayacct_add_tsk(struct taskstats *d, in delayacct_add_tsk()
/linux/Documentation/accounting/
A Dtaskstats.rst56 The user-kernel interface is encapsulated in include/linux/taskstats.h
62 struct taskstats is the common accounting structure for both per-pid and
65 taskstats.h file.
72 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
76 The taskstats payload is one of the following three kinds:
102 c) TASKSTATS_TYPE_STATS: attribute with a struct taskstats as payload. The
125 kernel has space and time overheads. To address this, the taskstats code
134 Extending taskstats
137 There are two ways to extend the taskstats interface to export more
160 Flow control for taskstats
[all …]
A Ddelay-accounting.rst18 the taskstats interface.
24 The functionality, through its use of the taskstats interface, also provides
38 Delay accounting uses the taskstats interface which is described
44 include/linux/taskstats.h
58 are given in the taskstats interface description.
62 also serves as an example of using the taskstats interface.
A Dindex.rst13 taskstats
14 taskstats-struct
A Dtaskstats-struct.rst2 The struct taskstats
5 This document contains an explanation of the struct taskstats fields.
7 There are three different groups of fields in the struct taskstats:
10 If CONFIG_TASKSTATS is set, the taskstats interface is enabled and
40 Future extension should add fields to the end of the taskstats struct, and
45 struct taskstats {
50 * TAKSTATS_VERSION, which is defined in <linux/taskstats.h>.
A Dcgroupstats.rst9 Per cgroup statistics infrastructure re-uses code from the taskstats
/linux/kernel/
A Dtaskstats.c157 struct task_struct *tsk, struct taskstats *stats) in fill_stats()
179 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
191 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid()
373 sizeof(struct taskstats), TASKSTATS_TYPE_NULL); in mk_reply()
472 nla_total_size_64bit(sizeof(struct taskstats)) + in taskstats_packet_size()
480 struct taskstats *stats; in cmd_attr_pid()
509 struct taskstats *stats; in cmd_attr_tgid()
550 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc()
553 struct taskstats *stats_new, *stats; in taskstats_tgid_alloc()
587 struct taskstats *stats; in taskstats_exit()
[all …]
A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
86 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) in xacct_add_tsk()
A Ddelayacct.c118 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in delayacct_add_tsk()
A DMakefile102 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
/linux/Documentation/translations/zh_CN/accounting/
A Dindex.rst24 taskstats
25 taskstats-struct
/linux/tools/accounting/
A Dgetdelays.c197 static void print_delayacct(struct taskstats *t) in print_delayacct()
234 static void task_context_switch_counts(struct taskstats *t) in task_context_switch_counts()
253 static void print_ioacct(struct taskstats *t) in print_ioacct()
502 print_delayacct((struct taskstats *) NLA_DATA(na)); in main()
504 print_ioacct((struct taskstats *) NLA_DATA(na)); in main()
506 task_context_switch_counts((struct taskstats *) NLA_DATA(na)); in main()
/linux/include/uapi/linux/
A Dtaskstats.h41 struct taskstats { struct
/linux/include/linux/sched/
A Dsignal.h222 struct taskstats *stats;
/linux/kernel/cgroup/
A D.cgroup-v1.o.cmd637 include/uapi/linux/taskstats.h \
1093 include/uapi/linux/taskstats.h \
/linux/fs/proc/
A D.array.o.cmd1113 include/uapi/linux/taskstats.h \
1251 include/uapi/linux/taskstats.h \
/linux/mm/
A D.filemap.o.cmd995 include/uapi/linux/taskstats.h \
1244 include/uapi/linux/taskstats.h \
A D.memory.o.cmd1003 include/uapi/linux/taskstats.h \
1223 include/uapi/linux/taskstats.h \
A D.vmscan.o.cmd1038 include/uapi/linux/taskstats.h \
1242 include/uapi/linux/taskstats.h \
/linux/kernel/sched/
A D.autogroup.o.cmd1222 include/uapi/linux/taskstats.h \
1402 include/uapi/linux/taskstats.h \
A D.clock.o.cmd1221 include/uapi/linux/taskstats.h \
1401 include/uapi/linux/taskstats.h \
A D.completion.o.cmd1221 include/uapi/linux/taskstats.h \
1401 include/uapi/linux/taskstats.h \
A D.cpufreq.o.cmd1221 include/uapi/linux/taskstats.h \
1401 include/uapi/linux/taskstats.h \
A D.cpuacct.o.cmd1221 include/uapi/linux/taskstats.h \
1401 include/uapi/linux/taskstats.h \

Completed in 74 milliseconds

12345678910>>...47