rtla/timerlat: Make user-space threads the default
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Wed, 24 Apr 2024 14:36:56 +0000 (16:36 +0200)
committerDaniel Bristot de Oliveira <bristot@kernel.org>
Wed, 15 May 2024 13:13:57 +0000 (15:13 +0200)
commitfb9e90a67ee9a42779a8ea296a4cf7734258b27d
tree54f52790248382ad671064f1d9ceca1b132fbc1d
parentcdbf71962bb07493d67fee34536a5724a8bb5886
rtla/timerlat: Make user-space threads the default

After ther -u addition, most of the known users are setting it. And
it makes sense, as it adds more information, and inherits the default
setup for the threads - e.g., cgroups configs.

Thus, if the user-space interface is available, enable -u. Otherwise,
use the in-kernel thread.

Add the -k option to allow the user to request kernel-threads.

Link: https://lkml.kernel.org/r/9241d3089de4091b124f780ed832a0e6646cadaa.1713968967.git.bristot@kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Documentation/tools/rtla/common_timerlat_options.rst
tools/tracing/rtla/src/timerlat_hist.c
tools/tracing/rtla/src/timerlat_top.c