Kernel trace viewer and analyzer
C++ C IDL
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
3rdparty
lib
tests
utils
.gitignore
.gitmodules
.qmake.conf
.travis.yml
LICENSE
README.md
lttng-studio.pro

README.md

Build Status

lttng-studio

lttng-studio is a trace viewer and analyzer for software developers and system administrators, based on the Linux Tracing Toolkit infrastructure.

Project setup

The project is using C++, Qt 5 and qmake.

Install dependencies (Ubuntu 14.04):


  apt-get install libunwind8-dev libbabeltrace-dev libbabeltrace-ctf-dev qtbase5-dev

First, load 3rd party submodules:


  git submodule init
  git submodule update

Then, the usual makefile generation and compilation:


  qmake -r
  make

Running unit tests

==========

Use the target "test" to run unit tests:


  make test

QMakeTestRunner adds the target "test" and export LD_LIBRARY_PATH for the local build. To run tests manually, libraries must be available in LD_LIBRARY_PATH or globaly.

Writing unit tests

Each test is in its own directory (and .pro file) under "tests". Tests are written with QTest library. For more information on how to use QTest, see [http://qt-project.org/doc/](QT doc).

License, contributions, issues and support

lttng-studio is Free Software licenced under the GPL, version 3. Contributions to it are welcome, please propose them as Github pull requests. To submit a bug report or feature wish, please use the Github issue tracker for the project.

Have fun!