History log of /external/trappy/tests/trappy/__init__.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f83044c77b2996f44cb3e3fef2cb032729e9d840 04-Jan-2017 Brendan Jackman <brendan.jackman@arm.com> trappy: Remove legacy code
/external/trappy/trappy/__init__.py
e81fdcb135d0325e3bc22fae0583555d20aae280 04-Jan-2017 Brendan Jackman <brendan.jackman@arm.com> Update ARM Ltd. copyright to 2017
/external/trappy/trappy/__init__.py
712e6f93b308e5dc153017f2fe9c0ed62b12e927 16-Jun-2016 Javi Merino <javi.merino@arm.com> trappy: set the version using an explicit file

There is no pythonic way of specifying the version of a project, [0]
describes 7 (seven!) ways of doing it. We were currently using method
5, setting the value in setup.py and using pkg_resources to get it from
the installed version. This works ok if you have installed the package
using "python setup.py" or pip, but fails if you are importing trappy
from a checkout, which is what lisa do. Even worse, if you import it
from lisa but have an old trappy version installed, trappy.__version__
will tell you the version of the installed trappy, not the one you have
imported and are using.

Switch to use a version.py file that's distributed with the
project (method 3). trappy.__version__ now reads the imported trappy's
version, which is what you want. setup.py and the documentation read
the file when they are installing so as to avoid repeating the version
number there.

[0] https://packaging.python.org/en/latest/single_source_version/
/external/trappy/trappy/__init__.py
7712c8f14d2bac1d2fbdbe5ed78449d71fb75a96 26-Apr-2016 Kapileshwar Singh <kpsingh@google.com> trappy: Add custom HTML exporter for TRAPpy IPython Notebooks

This allows the notebooks to be exported as:

jupyter nbconvert -—to trappy.nbexport.HTML doc/InteractivePlotter.ipynb

Signed-off-by: Kapileshwar Singh <kpsingh@google.com>
/external/trappy/trappy/__init__.py
46458d66cd5118b6d9cac7cb455f8dae1286b9b2 22-Mar-2016 Javi Merino <javi.merino@arm.com> systrace: add a class to parse trace coming from SysTrace

The SysTrace class has the same interface as FTrace. SysTrace doesn't
support raw traces. The only special thing that we have to do is skip
all the HTML in the file and parse the actual trace.
/external/trappy/trappy/__init__.py
e7068842cadd26d3a6f03f568e70d2f782447ee9 13-Jan-2016 John Pocock <john.pocock@arm.com> Added a BarPlot which can plot data as vertical bars

BarPlot added as a subclass of StaticPlot.

Values are plotted against their position in the list of data.

Series can be grouped(defualt) or stacked by setting the stacked
kwarg to True.

Spacing between groups is adjusted by the spacing kwarg. This is a
float. A proportion of the size of each group which sould be
spacing. e.g. 0.2 (defualt) means that 1/5 of the groups total
width is used as a spacing between groups.
/external/trappy/trappy/__init__.py
4ec4aee55dbd4045cfb6a2fe099615a569ce7ff7 05-Jan-2016 Javi Merino <javi.merino@arm.com> trappy: update copyright to 2016
/external/trappy/trappy/__init__.py
b280b4fd175789648650f66ed5fb3b4f42fb3de2 22-Dec-2015 Javi Merino <javi.merino@arm.com> ftrace: learn to unregister events

We have register_dynamic_ftrace() and register_ftrace_parser() but we
don't have a way to delete those events. Once an event has been
registered, all subsequent calls to FTrace will parse the event (unless
using scope="custom"). Add unregister_dynamic_ftrace() and
unregister_ftrace_parser() to remove events if they're not needed.
/external/trappy/trappy/__init__.py
fecb2676b883265a98e37deff1e4764337647c16 21-Dec-2015 Javi Merino <javi.merino@arm.com> dynamic: ensure dynamic methods refer to ftrace

Now that we can have traces coming from sources other than ftrace,
rename register_dynamic() and register_class() to
register_dynamic_ftrace() and register_ftrace_parser() to make it clear
that they are only available for traces coming from ftrace.
/external/trappy/trappy/__init__.py
08f3c34d0a24e7ffeff543e302efc911306e7bea 21-Dec-2015 Javi Merino <javi.merino@arm.com> bare_trace: abstract some of the basic FTrace functionality to a generic BareTrace class

Part of the functionality in FTrace is generic. In order to make the
rest of trappy less dependent on FTrace, move the generic parts to a new
BareTrace class and inherit from it.
/external/trappy/trappy/__init__.py
c26a323210533d4ed3a8b4e62c33744236e3beda 11-Dec-2015 Javi Merino <javi.merino@arm.com> ftrace: rename Run to FTrace

Run is a very generic and inappropriate name for an object that parses
the result of ftrace into a form consumable by python. Rename it to
FTrace in preparation for its generalization.
/external/trappy/trappy/__init__.py
ec2ffe0b266cc2107bc411f4a430af4e474562f6 07-Dec-2015 Javi Merino <javi.merino@arm.com> trappy: don't require matplotlib to be installed for stuff to run

Only import matplotlib or files that require matplotlib when functions
that need it are called. This way, we can use trappy in a system
that doesn't have matplotlib installed, if we use the subset of trappy
that doesn't do plotting.
/external/trappy/trappy/__init__.py
40a7dd64310d7ac95829ca59ed99590c494de106 01-Sep-2015 Javi Merino <javi.merino@arm.com> trappy: Add version

Let trappy.__version__ give you the version number.
/external/trappy/trappy/__init__.py
435457c8af9d69383ba45e0bd7da022d967a8dea 10-Aug-2015 Javi Merino <javi.merino@arm.com> trappy: rename to trappy

Change-Id: I7e0e34c9f5565e34629683bb29ab25cf5e737088
/external/trappy/trappy/__init__.py