Centos-kernel-stream-9/tools/tracing/rtla
Tomas Glozar 145392edd2 rtla/tests: Test setting default options
JIRA: https://issues.redhat.com/browse/RHEL-86051

commit a86150f310d7c986bb27c3633520336b67388afe
Author: Tomas Glozar <tglozar@redhat.com>
Date:   Thu Mar 20 10:25:00 2025 +0100

    rtla/tests: Test setting default options

    Add function to test engine to test with pre-set osnoise options, and
    use it to test whether osnoise period (as an example) is set correctly.

    The test works by pre-setting a high period of 10 minutes and stop on
    threshold. Thus, it is easy to check whether rtla is properly resetting
    the period to default: if it is, the test will complete on time, since
    the first sample will overflow the threshold. If not, it will time out.

    Cc: Luis Goncalves <lgoncalv@redhat.com>
    Link: https://lore.kernel.org/20250320092500.101385-7-tglozar@redhat.com
    Signed-off-by: Tomas Glozar <tglozar@redhat.com>
    Reviewed-by: John Kacur <jkacur@redhat.com>
    Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

Signed-off-by: Tomas Glozar <tglozar@redhat.com>
2025-04-04 12:04:05 +02:00
..
sample tools/rtla: Improve exception handling in timerlat_load.py 2025-01-17 12:49:05 -03:00
src rtla: Always set all tracer options 2025-04-04 12:04:04 +02:00
tests rtla/tests: Test setting default options 2025-04-04 12:04:05 +02:00
.gitignore rtla/timerlat: Add BPF skeleton to collect samples 2025-04-04 11:14:45 +02:00
Build tools/rtla: Use tools/build makefiles to build rtla 2024-12-02 15:24:12 +01:00
Makefile tools/build: Use SYSTEM_BPFTOOL for system bpftool 2025-04-04 11:14:45 +02:00
Makefile.config rtla: Add optional dependency on BPF tooling 2025-04-04 11:14:44 +02:00
Makefile.rtla tools/rtla: Fix installation from out-of-tree build 2025-01-17 12:49:04 -03:00
Makefile.standalone tools/rtla: Use tools/build makefiles to build rtla 2024-12-02 15:24:12 +01:00
README.txt rtla: Documentation: Mention --deepest-idle-state 2024-12-09 17:05:00 +01:00

README.txt

RTLA: Real-Time Linux Analysis tools

The rtla meta-tool includes a set of commands that aims to analyze
the real-time properties of Linux. Instead of testing Linux as a black box,
rtla leverages kernel tracing capabilities to provide precise information
about the properties and root causes of unexpected results.

Installing RTLA

RTLA depends on the following libraries and tools:

 - libtracefs
 - libtraceevent
 - libcpupower (optional, for --deepest-idle-state)

It also depends on python3-docutils to compile man pages.

For development, we suggest the following steps for compiling rtla:

  $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
  $ cd libtraceevent/
  $ make
  $ sudo make install
  $ cd ..
  $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git
  $ cd libtracefs/
  $ make
  $ sudo make install
  $ cd ..
  $ cd $libcpupower_src
  $ make
  $ sudo make install
  $ cd $rtla_src
  $ make
  $ sudo make install

For further information, please refer to the rtla man page.