diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-08-21 22:09:16 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-08-28 12:50:39 +0300 |
commit | b7be4ef1365dcb56fdffc6689e41058b23f5996d (patch) | |
tree | f1f003cb9044c60960f43cb35828b4aa54095ee5 /include/linux/sched | |
parent | 87dc64480fb19a6a0fedbdff1e2557be50673287 (diff) | |
download | linux-b7be4ef1365dcb56fdffc6689e41058b23f5996d.tar.xz |
posix-cpu-timers: Switch thread group sampling to array
That allows more simplifications in various places.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192921.988426956@linutronix.de
Diffstat (limited to 'include/linux/sched')
-rw-r--r-- | include/linux/sched/cputime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/cputime.h b/include/linux/sched/cputime.h index 2638fd0ab3f2..eefa5dff16b4 100644 --- a/include/linux/sched/cputime.h +++ b/include/linux/sched/cputime.h @@ -61,7 +61,7 @@ extern void cputime_adjust(struct task_cputime *curr, struct prev_cputime *prev, * Thread group CPU time accounting. */ void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times); -void thread_group_sample_cputime(struct task_struct *tsk, struct task_cputime *times); +void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples); /* * The following are functions that support scheduler-internal time accounting. |