• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

doc/22-Nov-2023-7,2206,838

hooks/22-Nov-2023-303

scripts/22-Nov-2023-12784

tests/22-Nov-2023-8,0796,509

trappy/22-Nov-2023-9,0506,167

.dir-locals.elD22-Nov-2023217 65

.gitD01-Jan-19700

.gitignoreD22-Nov-202362 65

.travis.ymlD22-Nov-2023768 3027

LICENSED22-Nov-202311.1 KiB203169

MODULE_LICENSE_APACHE2D22-Nov-20230

NOTICED22-Nov-202311.1 KiB203169

README.mdD22-Nov-20232 KiB7042

setup.cfgD22-Nov-2023104 75

setup.pyD22-Nov-20232.5 KiB7551

README.md

1TRAPpy [![Build Status](https://travis-ci.org/ARM-software/trappy.svg?branch=master)](https://travis-ci.org/ARM-software/trappy) [![Version](https://img.shields.io/pypi/v/trappy.svg)](https://pypi.python.org/pypi/trappy)
2======
3
4TRAPpy (Trace Analysis and Plotting in Python) is a visualization tool to help
5analyze data generated on a device. It parses ftrace-like logs and creates
6in-memory data structures to be used for plotting and data analysis.
7
8# Installation
9
10The following instructions are for Ubuntu 14.04 LTS but they should
11also work with Debian jessie.  Older versions of Ubuntu or Debian
12(e.g. Ubuntu 12.04 or Debian wheezy) will likely require to install
13more packages from pip as the ones present in Ubuntu 12.04 or Debian
14wheezy will probably be too old.
15
16## Required dependencies
17
18##### Install additional tools required for some tests and functionalities
19
20	$ sudo apt install trace-cmd kernelshark
21
22##### Install the Python package manager
23
24	$ sudo apt install python-pip python-dev
25
26##### Install required python packages
27
28	$ sudo apt install libfreetype6-dev libpng12-dev python-nose
29	$ sudo pip install numpy matplotlib pandas ipython[all]
30
31##### Install TRAPpy
32
33    $ sudo pip install --upgrade trappy
34
35# Quickstart
36
37Now launch the ipython notebook server:
38
39    $ ipython notebook
40
41This should pop up a browser. If it doesn't, open a web browser and go
42to http://localhost:8888/tree/
43
44In the `doc/` folder there's a `00 - Quick start` which describes how to
45run TRAPpy. Other notebooks in that directory describe other functions
46of TRAPpy.
47
48# Documentation
49
50API reference can be found in https://pythonhosted.org/TRAPpy/
51
52# For developers
53
54## Clone the repository
55
56The code of the TRAPpy toolkit with all the supported tests and
57Notebooks can be cloned from the official GitHub repository with this
58command:
59
60    $ git clone https://github.com/ARM-software/trappy.git
61
62## Testing your installation
63
64An easy way to test your installation is to use the `nosetests` command from
65TRAPpy's home directory:
66
67	$ nosetests
68
69If the installation is correct all tests will succeed.
70