Tracing tool for periodic and aperiodic real-time tasks of ptask API.
- Version 1.0, February 2018
## Introduction
ptaskTracer is a tool that traces the execution of periodic and aperiodic tasks created with the [API ptask](https://github.com/glipari/ptask), analyses the traces, and generates a SVG of the scheduling of the threads. The tool uses :
-[LTTng](https://github.com/lttng), an open source software toolkit which can be used to trace the Linux kernel, user applications, and user libraries ;
-[ANTLR4](https://github.com/antlr/antlr4), a parser generator for reading, processing, executing, or translating structured text or binary files.
-[Batik](https://github.com/apache/batik), a Java-based toolkit for applications or applets that want to use SVG images format.
## Requirements
### Requirements of ptask
- Allegro 4 libraries
- CMake 3.1+
### Requirements of the tool
- Java
- LTTng 2.10
- ANTLR4
- Batik and w3c libraries
## Installation
To install Lttng 2.10, download ANTLR4 4.7.2, Batik 1.10 and w3c jar lib libraries, compile and install the tool, run (from the repository ):
```shell
$ ./install.sh
```
On Ubuntu systems, add stable 2.10 PPA repository before :
```shell
$ apt-add-repository ppa:lttng/stable-2.10
$ apt-get update
$ ./install.sh
```
Make sure <code>lttng-tools</code>, <code>lttng-modules</code>, and <code>liblttng-ust</code> are installed before running the application.