c278c2343c7f25083a80cb164b6bdc761d50050b |
|
22-Nov-2016 |
Patrick Bellasi <patrick.bellasi@arm.com> |
libs: use a more configurable logging strategy This is a big re-factoring which update all the logging statements to make use of a more sane and consistent configuration: - each module uses the same logger configuration but refers to a custom logger which has the same name of the module, this should allows a fine grained configuration of the loglevels for each module. - a new libs/utils/conf.py::LisaLogging class allows to load the configuration and customize the root logger level. - loggers are configured using a single logfile (logging.conf) which is provided by default in the LISA's root folder. Each logger can be configured to specify: - loglevel: INFO by default for all modules - output channels: console and logfile (lisa.log by default) for all modules - string format: the same by default for all modules If logging.conf does not specify a specific configuration for a logger, than the default logger configuration applies, which is the one defined by the "root" logger. Notebooks and LisaTest are required to call at least one time the LisaLogging::setup() method to properly intialize logging. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
/external/lisa/libs/utils/analysis/functions_analysis.py
|
b9c02fe3f7682ceb9e1c703d218bb4c9449358a1 |
|
25-Jul-2016 |
Michele Di Giorgio <michele.digiorgio@arm.com> |
libs/utils: make pylint and pep8 a bit happier Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
/external/lisa/libs/utils/analysis/functions_analysis.py
|
f93efbe21b68cf8f422a221d81fcd723a2ced356 |
|
22-Jul-2016 |
Michele Di Giorgio <michele.digiorgio@arm.com> |
libs/utils/analysis: docstrings everywhere Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
/external/lisa/libs/utils/analysis/functions_analysis.py
|
3435f9dcb63d6f13b8008631f2ca95b93ff06e69 |
|
22-Jul-2016 |
Patrick Bellasi <patrick.bellasi@arm.com> |
libs/utils/analysis: add FUNCTIONs module This patch move the Functions Profiling analysis code, originally part of the trace_analysis.py module, to be a new TraceAnalysis module with dynamic registration via the AnalysisRegister. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
/external/lisa/libs/utils/analysis/functions_analysis.py
|