Lines Matching refs:task
1 Per-task statistics interface
5 Taskstats is a netlink-based interface for sending per-task and
10 - efficiently provide statistics during lifetime of a task and on its exit
17 "pid", "tid" and "task" are used interchangeably and refer to the standard
18 Linux task defined by struct task_struct. per-pid stats are the same as
19 per-task stats.
23 use of tgid, there is no special treatment for the task that is thread group
24 leader - a process is deemed alive as long as it has any task belonging to it.
29 To get statistics during a task's lifetime, userspace opens a unicast netlink
31 The response contains statistics for a task (if pid is specified) or the sum of
35 sends a register command and specifies a cpumask. Whenever a task exits on
41 If the exiting task is the last thread exiting its thread group,
80 the task/process for which userspace wants statistics.
104 3. New message sent by kernel whenever a task exits. The payload consists of a
108 b) TASKSTATS_TYPE_PID: contains exiting task's pid
109 c) TASKSTATS_TYPE_STATS: contains the exiting task's per-pid stats
111 e) TASKSTATS_TYPE_TGID: contains tgid of process to which task belongs
112 f) TASKSTATS_TYPE_STATS: contains the per-tgid stats for exiting task's process
118 Taskstats provides per-process stats, in addition to per-task stats, since
119 resource management is often done at a process granularity and aggregating task
123 However, maintaining per-process, in addition to per-task stats, within the
125 accumulates each exiting task's statistics into a process-wide data structure.
126 When the last task of a process exits, the process level data accumulated also
127 gets sent to userspace (along with the per-task data).
137 per-task/process stats as patches to collect them get added to the kernel
162 When the rate of task exits becomes large, a listener may not be able to keep