[libcamera-devel] [PATCH 0/3] utils: tuning: Add logging infrastructure
Paul Elder
paul.elder at ideasonboard.com
Tue Nov 29 06:33:23 CET 2022
This series depends on "utils: libtuning: Get debug parameters from cli
arguments", but only for the purposes of resolving a trivial merge
conflict.
This series adds a logging infrastructure to libtuning, so that the log
levels and log output file can be specified on the command line in
tuning scripts, and so that libtuning components can log things easily
and concicely with different log levels.
Paul Elder (3):
utils: libtuning: Add logger
utils: libtuning: Replace eprint with Logger
utils: libtuning: Add logging parameters to argparse
utils/tuning/libtuning/__init__.py | 1 +
.../libtuning/generators/yaml_output.py | 4 +-
utils/tuning/libtuning/image.py | 6 +-
utils/tuning/libtuning/libtuning.py | 52 ++++++---
utils/tuning/libtuning/logger.py | 105 ++++++++++++++++++
utils/tuning/libtuning/macbeth.py | 12 +-
.../libtuning/modules/lsc/raspberrypi.py | 12 +-
utils/tuning/libtuning/utils.py | 17 +--
8 files changed, 171 insertions(+), 38 deletions(-)
create mode 100644 utils/tuning/libtuning/logger.py
--
2.35.1
More information about the libcamera-devel
mailing list