diff options
author | Zhang Xiao <xiao.zhang@windriver.com> | 2017-05-09 00:56:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 02:15:12 +0200 |
commit | 8c733420bdd5a6cc2d8540fb5aa32d1fbf3cb3ff (patch) | |
tree | e5ae903b22d0288fe9a8391c2ab0ca85bbe9dfce /kernel/kcov.c | |
parent | pidns: expose task pid_ns_for_children to userspace (diff) | |
download | linux-8c733420bdd5a6cc2d8540fb5aa32d1fbf3cb3ff.tar.xz linux-8c733420bdd5a6cc2d8540fb5aa32d1fbf3cb3ff.zip |
taskstats: add e/u/stime for TGID command
The elapsed time, user CPU time and system CPU time for the thread group
status request are presently left at zero. Fill these in.
[akpm@linux-foundation.org: run ktime_get_ns() a single time]
[akpm@linux-foundation.org: include linux/sched/cputime.h for task_cputime()]
Link: http://lkml.kernel.org/r/1488508424-12322-1-git-send-email-xiao.zhang@windriver.com
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions