Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
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()
Ddelayacct.h75 extern int __delayacct_add_tsk(struct taskstats *, struct task_struct *);
132 static inline int delayacct_add_tsk(struct taskstats *d, in delayacct_add_tsk()
174 static inline int delayacct_add_tsk(struct taskstats *d, in delayacct_add_tsk()
/Linux-v4.19/Documentation/accounting/
Dtaskstats.txt46 getdelays.c is a simple utility demonstrating usage of the taskstats interface
55 The user-kernel interface is encapsulated in include/linux/taskstats.h
58 an outline of the current version is given. taskstats.h always overrides the
61 struct taskstats is the common accounting structure for both per-pid and
64 taskstats.h file.
71 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
75 The taskstats payload is one of the following three kinds:
101 c) TASKSTATS_TYPE_STATS: attribute with a struct taskstats as payload. The
124 kernel has space and time overheads. To address this, the taskstats code
133 Extending taskstats
[all …]
Ddelay-accounting.txt17 the taskstats interface.
23 The functionality, through its use of the taskstats interface, also provides
37 Delay accounting uses the taskstats interface which is described
42 include/linux/taskstats.h
55 are given in the taskstats interface description.
59 also serves as an example of using the taskstats interface.
Dtaskstats-struct.txt1 The struct taskstats
4 This document contains an explanation of the struct taskstats fields.
6 There are three different groups of fields in the struct taskstats:
9 If CONFIG_TASKSTATS is set, the taskstats interface is enabled and
31 Future extension should add fields to the end of the taskstats struct, and
35 struct taskstats {
39 * TAKSTATS_VERSION, which is defined in <linux/taskstats.h>.
Dcgroupstats.txt5 Per cgroup statistics infrastructure re-uses code from the taskstats
/Linux-v4.19/kernel/
Dtaskstats.c171 struct task_struct *tsk, struct taskstats *stats) in fill_stats()
193 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
205 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid()
369 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply()
387 sizeof(struct taskstats), TASKSTATS_TYPE_NULL); in mk_reply()
486 nla_total_size_64bit(sizeof(struct taskstats)) + in taskstats_packet_size()
494 struct taskstats *stats; in cmd_attr_pid()
523 struct taskstats *stats; in cmd_attr_tgid()
564 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc()
567 struct taskstats *stats; in taskstats_tgid_alloc()
[all …]
Dtsacct.c33 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
94 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) in xacct_add_tsk()
Ddelayacct.c94 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in __delayacct_add_tsk()
DMakefile94 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
/Linux-v4.19/tools/accounting/
Dgetdelays.c197 static void print_delayacct(struct taskstats *t) in print_delayacct()
228 static void task_context_switch_counts(struct taskstats *t) in task_context_switch_counts()
247 static void print_ioacct(struct taskstats *t) in print_ioacct()
496 print_delayacct((struct taskstats *) NLA_DATA(na)); in main()
498 print_ioacct((struct taskstats *) NLA_DATA(na)); in main()
500 task_context_switch_counts((struct taskstats *) NLA_DATA(na)); in main()
/Linux-v4.19/include/uapi/linux/
Dtaskstats.h41 struct taskstats { struct
/Linux-v4.19/include/linux/sched/
Dsignal.h214 struct taskstats *stats;
/Linux-v4.19/Documentation/
D00-INDEX52 - documentation on accounting and taskstats.
/Linux-v4.19/init/
DKconfig471 bool "Enable extended accounting over taskstats"
475 to userland for processing over the taskstats interface.
/Linux-v4.19/Documentation/filesystems/
Dproc.txt1639 More information about this can be found within the taskstats documentation in
/Linux-v4.19/
DMAINTAINERS14160 F: Documentation/accounting/taskstats*
14161 F: include/linux/taskstats*
14162 F: kernel/taskstats.c