| 1 |
RTLA: Real-Time Linux Analysis tools |
| 2 |
|
| 3 |
The rtla meta-tool includes a set of commands that aims to analyze |
| 4 |
the real-time properties of Linux. Instead of testing Linux as a black box, |
| 5 |
rtla leverages kernel tracing capabilities to provide precise information |
| 6 |
about the properties and root causes of unexpected results. |
| 7 |
|
| 8 |
Installing RTLA |
| 9 |
|
| 10 |
RTLA depends on the following libraries and tools: |
| 11 |
|
| 12 |
- libtracefs |
| 13 |
- libtraceevent |
| 14 |
- libcpupower (optional, for --deepest-idle-state) |
| 15 |
|
| 16 |
For BPF sample collection support, the following extra dependencies are |
| 17 |
required: |
| 18 |
|
| 19 |
- libbpf 1.0.0 or later |
| 20 |
- bpftool with skeleton support |
| 21 |
- clang with BPF CO-RE support |
| 22 |
|
| 23 |
It also depends on python3-docutils to compile man pages. |
| 24 |
|
| 25 |
For development, we suggest the following steps for compiling rtla: |
| 26 |
|
| 27 |
$ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git |
| 28 |
$ cd libtraceevent/ |
| 29 |
$ make |
| 30 |
$ sudo make install |
| 31 |
$ cd .. |
| 32 |
$ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git |
| 33 |
$ cd libtracefs/ |
| 34 |
$ make |
| 35 |
$ sudo make install |
| 36 |
$ cd .. |
| 37 |
$ cd $libcpupower_src |
| 38 |
$ make |
| 39 |
$ sudo make install |
| 40 |
$ cd $rtla_src |
| 41 |
$ make |
| 42 |
$ sudo make install |
| 43 |
|
| 44 |
For further information, please refer to the rtla man page. |