commit | 120b29c449da7f2f8bb11755a5ba51e4a761c1df | [log] [tgz] |
---|---|---|
author | Michele Di Giorgio <michele.dg90@gmail.com> | Wed Apr 06 13:35:07 2016 +0100 |
committer | Michele Di Giorgio <michele.dg90@gmail.com> | Wed Apr 06 13:35:07 2016 +0100 |
tree | 270b5a461ad736273a4370ab7bdab6b4113514d4 | |
parent | 34d66a515555fee5380f92ad195767d8bf778b9d [diff] | |
parent | 1cd8d17d7f988ddeed934277b6ea798a206af059 [diff] |
Merge pull request #174 from JaviMerino/pypi_badge README: add a pypi badge
TRAPpy (Trace Analysis and Plotting in Python) is a visualization tool to help analyze data generated on a device. It parses ftrace-like logs and creates in-memory data structures to be used for plotting and data analysis.
The following instructions are for Ubuntu 14.04 LTS but they should also work with Debian jessie. Older versions of Ubuntu or Debian (e.g. Ubuntu 12.04 or Debian wheezy) will likely require to install more packages from pip as the ones present in Ubuntu 12.04 or Debian wheezy will probably be too old.
$ sudo apt install trace-cmd kernelshark
$ sudo apt install python-pip python-dev
$ sudo apt install libfreetype6-dev libpng12-dev python-nose $ sudo pip install numpy matplotlib pandas ipython[all]
$ sudo pip install --upgrade trappy
Now launch the ipython notebook server:
$ ipython notebook
This should pop up a browser. If it doesn't, open a web browser and go to http://localhost:8888/tree/
In the doc/
folder there's a 00 - Quick start
which describes how to run TRAPpy. Other notebooks in that directory describe other functions of TRAPpy.
API reference can be found in https://pythonhosted.org/TRAPpy/
The code of the TRAPpy toolkit with all the supported tests and Notebooks can be cloned from the official GitHub repository with this command:
$ git clone https://github.com/ARM-software/trappy.git
An easy way to test your installation is to use the nosetests
command from TRAPpy's home directory:
$ nosetests
If the installation is correct all tests will succeed.