diff options
| author | Thomas Gleixner <[email protected]> | 2019-08-21 21:09:16 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-08-28 11:50:39 +0200 |
| commit | b7be4ef1365dcb56fdffc6689e41058b23f5996d (patch) | |
| tree | f1f003cb9044c60960f43cb35828b4aa54095ee5 /include/linux | |
| parent | 87dc64480fb19a6a0fedbdff1e2557be50673287 (diff) | |
posix-cpu-timers: Switch thread group sampling to array
That allows more simplifications in various places.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux')
| -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. |