/openbmc/linux/Documentation/translations/zh_CN/accounting/ |
H A D | taskstats.rst | 3 :Original: Documentation/accounting/taskstats.rst 47 getdelays.c是一个简单的示例,用以演示如何使用taskstats接口获取延迟统计信息。 54 内核用户接口封装在include/linux/taskstats.h。 56 为避免本文档随着接口的演进而过期,本文仅给出当前版本的概要。当本文与taskstats.h 57 不一致时,以taskstats.h为准。 59 struct taskstats是每pid和每tgid数据共用的计数结构体。它是版本化的,可在内核新增 60 计数子系统时进行扩展。taskstats.h中定义了各字段及语义。 66 | nlmsghdr | Pad | genlmsghdr | taskstats payload | 89 c) TASKSTATS_TYPE_STATS:本属性的载荷为一个struct taskstats实例。每pid和 104 除了每任务的统计信息,taskstats还提供每进程的统计信息,因为资源管理通常以进程 [all …]
|
H A D | delay-accounting.rst | 24 并将这些统计信息通过taskstats接口提供给用户空间。 29 通过使用taskstats接口,本功能还可提供一个线程组(对应传统Unix进程)所有任务 39 延时计数使用taskstats接口,该接口由本目录另一个单独的文档详细描述。Taskstats 43 include/uapi/linux/taskstats.h 52 taskstats接口的描述。 55 延时统计信息。其也是使用taskstats接口的示例。
|
H A D | index.rst | 20 taskstats 25 taskstats-struct
|
/openbmc/linux/include/linux/ |
H A 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()
|
H A D | delayacct.h | 75 extern int delayacct_add_tsk(struct taskstats *, struct task_struct *); 242 static inline int delayacct_add_tsk(struct taskstats *d, in delayacct_add_tsk()
|
/openbmc/linux/kernel/ |
H A D | taskstats.c | 157 static void exe_add_tsk(struct taskstats *stats, struct task_struct *tsk) in exe_add_tsk() 176 struct task_struct *tsk, struct taskstats *stats) in fill_stats() 201 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() 213 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() 377 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply() 395 sizeof(struct taskstats), TASKSTATS_TYPE_NULL); in mk_reply() 494 nla_total_size_64bit(sizeof(struct taskstats)) + in taskstats_packet_size() 502 struct taskstats *stats; in cmd_attr_pid() 531 struct taskstats *stats; in cmd_attr_tgid() 572 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc() [all …]
|
H A D | tsacct.c | 22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() 91 void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) in xacct_add_tsk()
|
H A D | delayacct.c | 129 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in delayacct_add_tsk()
|
H A D | Makefile | 100 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
|
/openbmc/linux/Documentation/accounting/ |
H A 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 …]
|
H A D | index.rst | 13 taskstats 14 taskstats-struct
|
H A 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>.
|
H A D | delay-accounting.rst | 22 the taskstats interface. 28 The functionality, through its use of the taskstats interface, also provides 42 Delay accounting uses the taskstats interface which is described 48 include/uapi/linux/taskstats.h 63 are given in the taskstats interface description. 67 also serves as an example of using the taskstats interface.
|
H A D | cgroupstats.rst | 9 Per cgroup statistics infrastructure re-uses code from the taskstats
|
/openbmc/linux/tools/accounting/ |
H A D | getdelays.c | 196 static void print_delayacct(struct taskstats *t) in print_delayacct() 251 static void task_context_switch_counts(struct taskstats *t) in task_context_switch_counts() 270 static void print_ioacct(struct taskstats *t) in print_ioacct() 516 print_delayacct((struct taskstats *) NLA_DATA(na)); in main() 518 print_ioacct((struct taskstats *) NLA_DATA(na)); in main() 520 task_context_switch_counts((struct taskstats *) NLA_DATA(na)); in main()
|
H A D | procacct.c | 203 static void print_procacct(struct taskstats *t) in print_procacct() 243 print_procacct((struct taskstats *) NLA_DATA(na)); in handle_aggr()
|
/openbmc/openbmc/poky/meta/recipes-kernel/linux/ |
H A D | linux-yocto-rt_6.6.bb | 42 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
|
H A D | linux-yocto-rt_6.12.bb | 42 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
|
H A D | linux-yocto-dev.bb | 52 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
|
H A D | linux-yocto.inc | 34 KERNEL_FEATURES:append:qemuall = " features/debug/printk.scc features/taskstats/taskstats.scc"
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | process_tree.py | 41 monitoredApp, prune, idle, taskstats, argument 45 self.taskstats = taskstats
|
H A D | draw.py | 742 if proc_tree.taskstats and options.cumulative: 753 if proc_tree.taskstats and options.cumulative: 759 if proc_tree.taskstats and options.cumulative:
|
/openbmc/openbmc/poky/meta/recipes-devtools/bootchart2/bootchart2/ |
H A D | 0001-Do-not-include-linux-fs.h.patch | 27 #include <linux/taskstats.h>
|
/openbmc/linux/include/uapi/linux/ |
H A D | taskstats.h | 41 struct taskstats { struct
|
/openbmc/openbmc/poky/scripts/pybootchartgui/ |
H A D | NEWS | 5 + Robustness fixes to taskstats and meminfo parsing 59 + try harder with taskstats (Michael)
|