summaryrefslogtreecommitdiffstats
path: root/include/linux/sched
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-21 21:09:16 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-08-28 11:50:39 +0200
commitb7be4ef1365dcb56fdffc6689e41058b23f5996d (patch)
treef1f003cb9044c60960f43cb35828b4aa54095ee5 /include/linux/sched
parent87dc64480fb19a6a0fedbdff1e2557be50673287 (diff)
downloadlinux-b7be4ef1365dcb56fdffc6689e41058b23f5996d.tar.gz
linux-b7be4ef1365dcb56fdffc6689e41058b23f5996d.tar.bz2
linux-b7be4ef1365dcb56fdffc6689e41058b23f5996d.zip
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.h2
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.