diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2019-08-21 22:08:55 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2019-08-28 12:50:28 +0300 |
| commit | 24ab7f5a7b2c917e89fc6a87252f18faff91d6ce (patch) | |
| tree | f5d94160da053bd6b4bd0491845282b320236be7 /scripts/gdb/linux/tasks.py | |
| parent | c506bef424ca282f2ad357e86fee940c69018974 (diff) | |
| download | linux-24ab7f5a7b2c917e89fc6a87252f18faff91d6ce.tar.xz | |
posix-cpu-timers: Consolidate thread group sample code
cpu_clock_sample_group() and cpu_timer_sample_group() are almost the
same. Before the rename one called thread_group_cputimer() and the other
thread_group_cputime(). Really intuitive function names.
Consolidate the functions and also avoid the thread traversal when
the thread group's accounting is already active.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192919.960966884@linutronix.de
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
