diff options
author | Kapileshwar Singh <kapileshwarsingh@gmail.com> | 2017-01-05 14:00:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 14:00:46 +0100 |
commit | 5d488a4f480e12e9276cf8ded997eefd30bb3c94 (patch) | |
tree | bb909db2171b2a0078d6c947f0ad3043f0290dd9 /trappy | |
parent | 2d3a944933d125bbdd61ba52e04d4400941f052f (diff) | |
parent | f83044c77b2996f44cb3e3fef2cb032729e9d840 (diff) | |
download | trappy-5d488a4f480e12e9276cf8ded997eefd30bb3c94.tar.gz |
Merge pull request #234 from bjackman/misc
Update ARM Ltd. Copright notices & remove legacy code
Diffstat (limited to 'trappy')
46 files changed, 46 insertions, 65 deletions
diff --git a/trappy/__init__.py b/trappy/__init__.py index b6fcfcf..3b3c419 100644 --- a/trappy/__init__.py +++ b/trappy/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,25 +43,6 @@ import trappy.nbexport # unregister with unregister_dynamic_ftrace() unregister_dynamic_ftrace = unregister_ftrace_parser -# For backwards compatibility. Remove by 2016-12-31 -class Run(FTrace): - """This class is deprecated. Use trappy.FTrace instead""" - def __init__(self, *args, **kwargs): - warnings.warn("The Run object is deprecated. Use trappy.FTrace instead") - super(Run, self).__init__(*args, **kwargs) - -# For backwards compatibility. Remove by 2016-12-31 -def register_dynamic(*args, **kwargs): - """register_dynamic() is deprecated. Use register_dynamic_ftrace() instead""" - warnings.warn("register_dynamic() is deprecated. Use register_dynamic_ftrace() instead") - return register_dynamic_ftrace(*args, **kwargs) - -# For backwards compatibility. Remove by 2016-12-31 -def register_class(*args, **kwargs): - """register_class() is deprecated. Use register_ftrace_parser() instead""" - warnings.warn("register_class() is deprecated. Use register_ftrace_parser() instead") - return register_ftrace_parser(*args, **kwargs) - # Load all the modules to make sure all classes are registered with FTrace import os for fname in os.listdir(os.path.dirname(__file__)): diff --git a/trappy/bare_trace.py b/trappy/bare_trace.py index 2c7ca1a..f3fbd58 100644 --- a/trappy/bare_trace.py +++ b/trappy/bare_trace.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/base.py b/trappy/base.py index 1b4081d..dbc4ae7 100644 --- a/trappy/base.py +++ b/trappy/base.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/compare_runs.py b/trappy/compare_runs.py index 42337e6..c99f2f3 100644 --- a/trappy/compare_runs.py +++ b/trappy/compare_runs.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/cpu_power.py b/trappy/cpu_power.py index ccc8ed4..9cd0bba 100644 --- a/trappy/cpu_power.py +++ b/trappy/cpu_power.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/devfreq_power.py b/trappy/devfreq_power.py index 0b46c15..a8a0ac1 100644 --- a/trappy/devfreq_power.py +++ b/trappy/devfreq_power.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/dynamic.py b/trappy/dynamic.py index 346dcc0..f764232 100644 --- a/trappy/dynamic.py +++ b/trappy/dynamic.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/ftrace.py b/trappy/ftrace.py index 55c795e..6a5fce0 100644 --- a/trappy/ftrace.py +++ b/trappy/ftrace.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/idle.py b/trappy/idle.py index e264e51..a2c5069 100644 --- a/trappy/idle.py +++ b/trappy/idle.py @@ -1,4 +1,4 @@ -# Copyright 2016 ARM Limited +# Copyright 2016-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/nbexport/__init__.py b/trappy/nbexport/__init__.py index 050a357..548ef6d 100644 --- a/trappy/nbexport/__init__.py +++ b/trappy/nbexport/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/trappy/nbexport/exporter.py b/trappy/nbexport/exporter.py index d83ca96..c271fa8 100644 --- a/trappy/nbexport/exporter.py +++ b/trappy/nbexport/exporter.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/trappy/pid_controller.py b/trappy/pid_controller.py index 976aab2..16fe00b 100644 --- a/trappy/pid_controller.py +++ b/trappy/pid_controller.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plot_utils.py b/trappy/plot_utils.py index 850d51f..412d554 100644 --- a/trappy/plot_utils.py +++ b/trappy/plot_utils.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/AbstractDataPlotter.py b/trappy/plotter/AbstractDataPlotter.py index cae037d..e4891d8 100644 --- a/trappy/plotter/AbstractDataPlotter.py +++ b/trappy/plotter/AbstractDataPlotter.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/AttrConf.py b/trappy/plotter/AttrConf.py index a02ec0d..3342939 100644 --- a/trappy/plotter/AttrConf.py +++ b/trappy/plotter/AttrConf.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/BarPlot.py b/trappy/plotter/BarPlot.py index 6931592..6c45104 100644 --- a/trappy/plotter/BarPlot.py +++ b/trappy/plotter/BarPlot.py @@ -1,4 +1,4 @@ -# Copyright 2016-2016 ARM Limited +# Copyright 2016-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/ColorMap.py b/trappy/plotter/ColorMap.py index bec8540..bbd571c 100644 --- a/trappy/plotter/ColorMap.py +++ b/trappy/plotter/ColorMap.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/Constraint.py b/trappy/plotter/Constraint.py index 2949738..1a5adc9 100644 --- a/trappy/plotter/Constraint.py +++ b/trappy/plotter/Constraint.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/EventPlot.py b/trappy/plotter/EventPlot.py index 382d325..a360e60 100644 --- a/trappy/plotter/EventPlot.py +++ b/trappy/plotter/EventPlot.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/ILinePlot.py b/trappy/plotter/ILinePlot.py index 9199a6c..2bcd6aa 100644 --- a/trappy/plotter/ILinePlot.py +++ b/trappy/plotter/ILinePlot.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/ILinePlotGen.py b/trappy/plotter/ILinePlotGen.py index 2859a16..a748e19 100644 --- a/trappy/plotter/ILinePlotGen.py +++ b/trappy/plotter/ILinePlotGen.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/IPythonConf.py b/trappy/plotter/IPythonConf.py index 56f3192..1cfb72f 100644 --- a/trappy/plotter/IPythonConf.py +++ b/trappy/plotter/IPythonConf.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/LinePlot.py b/trappy/plotter/LinePlot.py index 582a191..7f96594 100644 --- a/trappy/plotter/LinePlot.py +++ b/trappy/plotter/LinePlot.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/PlotLayout.py b/trappy/plotter/PlotLayout.py index 70453bd..78bbda9 100644 --- a/trappy/plotter/PlotLayout.py +++ b/trappy/plotter/PlotLayout.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/StaticPlot.py b/trappy/plotter/StaticPlot.py index 81ade6d..9b58108 100644 --- a/trappy/plotter/StaticPlot.py +++ b/trappy/plotter/StaticPlot.py @@ -1,4 +1,4 @@ -# Copyright 2016-2016 ARM Limited +# Copyright 2016-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/Utils.py b/trappy/plotter/Utils.py index e36ac60..2a47580 100644 --- a/trappy/plotter/Utils.py +++ b/trappy/plotter/Utils.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/__init__.py b/trappy/plotter/__init__.py index 851e4d1..a628b9b 100644 --- a/trappy/plotter/__init__.py +++ b/trappy/plotter/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/plotter/css/EventPlot.css b/trappy/plotter/css/EventPlot.css index d165124..98bb51d 100644 --- a/trappy/plotter/css/EventPlot.css +++ b/trappy/plotter/css/EventPlot.css @@ -1,5 +1,5 @@ /* - * Copyright 2015-2016 ARM Limited + * Copyright 2015-2017 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/trappy/plotter/js/EventPlot.js b/trappy/plotter/js/EventPlot.js index 6a9a255..14a0024 100644 --- a/trappy/plotter/js/EventPlot.js +++ b/trappy/plotter/js/EventPlot.js @@ -1,5 +1,5 @@ /* - * Copyright 2015-2016 ARM Limited + * Copyright 2015-2017 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/trappy/plotter/js/ILinePlot.js b/trappy/plotter/js/ILinePlot.js index 7967405..309e90d 100644 --- a/trappy/plotter/js/ILinePlot.js +++ b/trappy/plotter/js/ILinePlot.js @@ -1,5 +1,5 @@ /* - * Copyright 2015-2016 ARM Limited + * Copyright 2015-2017 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/trappy/sched.py b/trappy/sched.py index e618bf0..4a68f6a 100644 --- a/trappy/sched.py +++ b/trappy/sched.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/Aggregator.py b/trappy/stats/Aggregator.py index 4c33abf..0ca9525 100644 --- a/trappy/stats/Aggregator.py +++ b/trappy/stats/Aggregator.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/Correlator.py b/trappy/stats/Correlator.py index 9a0a8fc..191cb06 100644 --- a/trappy/stats/Correlator.py +++ b/trappy/stats/Correlator.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/Indexer.py b/trappy/stats/Indexer.py index acf5ec9..32b5ee1 100644 --- a/trappy/stats/Indexer.py +++ b/trappy/stats/Indexer.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/StatConf.py b/trappy/stats/StatConf.py index 061fa0a..1437af4 100644 --- a/trappy/stats/StatConf.py +++ b/trappy/stats/StatConf.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/Topology.py b/trappy/stats/Topology.py index 0551e45..014581e 100644 --- a/trappy/stats/Topology.py +++ b/trappy/stats/Topology.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/Trigger.py b/trappy/stats/Trigger.py index 4fd3505..b2860d7 100644 --- a/trappy/stats/Trigger.py +++ b/trappy/stats/Trigger.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/__init__.py b/trappy/stats/__init__.py index ae37990..82de515 100644 --- a/trappy/stats/__init__.py +++ b/trappy/stats/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/stats/grammar.py b/trappy/stats/grammar.py index 025bb53..05a6315 100644 --- a/trappy/stats/grammar.py +++ b/trappy/stats/grammar.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/systrace.py b/trappy/systrace.py index 9800ade..6e917a6 100644 --- a/trappy/systrace.py +++ b/trappy/systrace.py @@ -1,4 +1,4 @@ -# Copyright 2016 ARM Limited +# Copyright 2016-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/thermal.py b/trappy/thermal.py index 375a65d..bde69be 100644 --- a/trappy/thermal.py +++ b/trappy/thermal.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/utils.py b/trappy/utils.py index 80953e3..eb73752 100644 --- a/trappy/utils.py +++ b/trappy/utils.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/version.py b/trappy/version.py index 8bfc5a0..76a3dd3 100644 --- a/trappy/version.py +++ b/trappy/version.py @@ -1,4 +1,4 @@ -# Copyright 2016-2016 ARM Limited +# Copyright 2016-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/wa/__init__.py b/trappy/wa/__init__.py index 1271a1a..cb29fd3 100644 --- a/trappy/wa/__init__.py +++ b/trappy/wa/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/wa/results.py b/trappy/wa/results.py index 0beb915..4b0889c 100644 --- a/trappy/wa/results.py +++ b/trappy/wa/results.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trappy/wa/sysfs_extractor.py b/trappy/wa/sysfs_extractor.py index fbffa6f..f45ed77 100644 --- a/trappy/wa/sysfs_extractor.py +++ b/trappy/wa/sysfs_extractor.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 ARM Limited +# Copyright 2015-2017 ARM Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. |