Searched refs:taskstats (Results 1 – 17 of 17) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | tsacct_kern.h | 16 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()
|
| D | delayacct.h | 70 extern int __delayacct_add_tsk(struct taskstats *, struct task_struct *); 129 static inline int delayacct_add_tsk(struct taskstats *d, in delayacct_add_tsk() 183 static inline int delayacct_add_tsk(struct taskstats *d, in delayacct_add_tsk()
|
| /Linux-v5.4/Documentation/accounting/ |
| D | taskstats.rst | 47 getdelays.c is a simple utility demonstrating usage of the taskstats interface 56 The user-kernel interface is encapsulated in include/linux/taskstats.h 59 an outline of the current version is given. taskstats.h always overrides the 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 [all …]
|
| D | index.rst | 13 taskstats 14 taskstats-struct
|
| D | delay-accounting.rst | 18 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.
|
| D | taskstats-struct.rst | 2 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>.
|
| D | cgroupstats.rst | 9 Per cgroup statistics infrastructure re-uses code from the taskstats
|
| /Linux-v5.4/kernel/ |
| D | taskstats.c | 161 struct task_struct *tsk, struct taskstats *stats) in fill_stats() 183 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() 195 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() 359 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply() 377 sizeof(struct taskstats), TASKSTATS_TYPE_NULL); in mk_reply() 476 nla_total_size_64bit(sizeof(struct taskstats)) + in taskstats_packet_size() 484 struct taskstats *stats; in cmd_attr_pid() 513 struct taskstats *stats; in cmd_attr_tgid() 554 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc() 557 struct taskstats *stats; in taskstats_tgid_alloc() [all …]
|
| D | tsacct.c | 22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() 83 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) in xacct_add_tsk()
|
| D | delayacct.c | 85 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in __delayacct_add_tsk()
|
| D | Makefile | 93 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
|
| /Linux-v5.4/tools/accounting/ |
| D | getdelays.c | 197 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-v5.4/include/uapi/linux/ |
| D | taskstats.h | 41 struct taskstats { struct
|
| /Linux-v5.4/include/linux/sched/ |
| D | signal.h | 207 struct taskstats *stats;
|
| /Linux-v5.4/init/ |
| D | Kconfig | 526 bool "Enable extended accounting over taskstats" 530 to userland for processing over the taskstats interface.
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | proc.txt | 1684 More information about this can be found within the taskstats documentation in
|
| /Linux-v5.4/ |
| D | MAINTAINERS | 15774 F: Documentation/accounting/taskstats* 15775 F: include/linux/taskstats* 15776 F: kernel/taskstats.c
|