History log of /external/trappy/tests/trappy/dynamic.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef596e5739b2e0946cbdfea09da09a314879dca8 17-Jun-2017 Chris Redpath <chris.redpath@arm.com> trappy/parsing: remove unnecessary raw flags from API and fix comments

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Reviewed-by: KP Singh <kpsingh@google.com>
/external/trappy/trappy/dynamic.py
e81fdcb135d0325e3bc22fae0583555d20aae280 04-Jan-2017 Brendan Jackman <brendan.jackman@arm.com> Update ARM Ltd. copyright to 2017
/external/trappy/trappy/dynamic.py
299725afaf586e70777d4c9d2b0f00a3952cf6b2 22-Mar-2016 Javi Merino <javi.merino@arm.com> ftrace: abstract parsing of ftrace output to a generic class

We currently have the FTrace class to parse output from trace-cmd but
FTrace output can come from other sources. Abstract it so that the
generic parsing can be reused for parsers of other sources.
/external/trappy/trappy/dynamic.py
094e742d3504d692e74913ed85ec3d4b176f0469 22-Mar-2016 Javi Merino <javi.merino@arm.com> dynamic: use register_ftrace_parser() internally

Most registration of base events in trappy were being done with
FTrace.register_parser() which introduces unnecessary noise when
refactoring. Use register_ftrace_parser() instead as it is what we
recommend for external classes and it simplifies refactoring.
/external/trappy/trappy/dynamic.py
4ec4aee55dbd4045cfb6a2fe099615a569ce7ff7 05-Jan-2016 Javi Merino <javi.merino@arm.com> trappy: update copyright to 2016
/external/trappy/trappy/dynamic.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/dynamic.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/dynamic.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/dynamic.py
1b4aa0c623eae94c05385dfd533dedd1d202abf8 02-Dec-2015 Javi Merino <javi.merino@arm.com> dynamic: don't register a class with a None pivot

If the pivot is defined, it should be a string. If there is no pivot,
then it shouldn't be part of the class variables at all. Let
register_dynamic() stop registering classes with pivot=None.
/external/trappy/trappy/dynamic.py
c4fbc5413a3fab228e5a67146c9c0e0fac78c6cf 26-Nov-2015 Javi Merino <javi.merino@arm.com> run: teach Run() to accept a list of events to parse

This is a partial fix for #69. Run() now accepts an "events" parameter
that dynamically registers classes to parse the trace events. With
scope="custom", this allows you to create a run object that only parses
the events you're interested in.
/external/trappy/trappy/dynamic.py
cd3fc6b96635ea9a624d9170a4db355d72ee2009 26-Nov-2015 Javi Merino <javi.merino@arm.com> base: remove the unique_word parameter from the constructor of Base

Now that unique_word is required to be a class variable of all
classes derived from Base there is no pass it to the constructor. Base
can already pick it up.

Thanks to this we can remove all the repeated code in the dummy
constructors.
/external/trappy/trappy/dynamic.py
8aab693fd15b09cabfdac03d0e186332ad405fda 19-Nov-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> dynamic: Allow registering of classes with pivots

A pivot is a value column along which the data can be logically
grouped by to generate orthogonal data. This pivot value is
currently used by grammar to analyse statements and can be used
by other APIs (example Plotter)

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/dynamic.py
46b361a84d52e7c9c97f9f5cc0a886f3047be4fd 09-Sep-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> doc: dynamic: Use sphinx friendly docstrings

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/dynamic.py
435457c8af9d69383ba45e0bd7da022d967a8dea 10-Aug-2015 Javi Merino <javi.merino@arm.com> trappy: rename to trappy

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