commit | ab94dac062ed58f03b1728a2857fa1563ed1e900 | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Tue Jan 05 17:55:26 2016 +0000 |
committer | Javi Merino <javi.merino@arm.com> | Tue Jan 05 19:05:39 2016 +0000 |
tree | b2507c3a2473102234ce75b8494717aca621917d | |
parent | 45d260989c763236f70e54af3211419b431bf45e [diff] |
trappy: partially revert 8da875103915 In 8da875103915 ("ftrace: fix error with only one actor") we made ftrace.plot_allfreqs() treat the case when there's only one actor a special case that ignored the requirement of the "ax" parameter being an array. The documentation of plot_allfreqs() is correct: if ax is not None, it must be an array of the same size as map_label. Revert the change to ftrace.py and fix the test to match what the documentation says.
trappy is a visualization tool to help analyze data generated on a device. It depends on ipython notebook and pandas. First install these dependencies if you don't have them already:
$ apt-get install ipython-notebook python-pandas
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.