Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H 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()
H A Ddelayacct.h70 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()
/OK3568_Linux_fs/kernel/Documentation/accounting/
H A Dtaskstats.rst47 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 …]
H 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.
H 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>.
H A Dindex.rst13 taskstats
14 taskstats-struct
H A Dcgroupstats.rst9 Per cgroup statistics infrastructure re-uses code from the taskstats
/OK3568_Linux_fs/kernel/kernel/
H 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()
355 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply()
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()
[all …]
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
85 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) in xacct_add_tsk()
H A Ddelayacct.c85 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in __delayacct_add_tsk()
H A DMakefile100 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
/OK3568_Linux_fs/kernel/tools/accounting/
H 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()
/OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/linux/
H A Dlinux-yocto-rt_5.10.bb39 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
H A Dlinux-yocto-rt_5.15.bb39 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
H A Dlinux-yocto-dev.bb56 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/
H A Dprocess_tree.py41 monitoredApp, prune, idle, taskstats, argument
45 self.taskstats = taskstats
H A Ddraw.py605 if proc_tree.taskstats and options.cumulative:
616 if proc_tree.taskstats and options.cumulative:
622 if proc_tree.taskstats and options.cumulative:
H A Dparsing.py43 self.taskstats = None
104 options.prune, idle, self.taskstats,
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dtaskstats.h41 struct taskstats { struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dtaskstats.h41 struct taskstats { struct
H A D..install.cmd1 …us.h ax25.h ptrace.h nilfs2_api.h psci.h dn.h v4l2-common.h atmbr2684.h taskstats.h sctp.h tee.h s…
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dtaskstats.h41 struct taskstats { struct
H A D..install.cmd1 …us.h ax25.h ptrace.h nilfs2_api.h psci.h dn.h v4l2-common.h atmbr2684.h taskstats.h sctp.h tee.h s…
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/
H A DNEWS5 + Robustness fixes to taskstats and meminfo parsing
59 + try harder with taskstats (Michael)
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dsignal.h210 struct taskstats *stats;

12