[libcamera-devel,0/3] utils: tuning: Add logging infrastructure
mbox series

Message ID 20221129053326.2858347-1-paul.elder@ideasonboard.com
Headers show
Series
  • utils: tuning: Add logging infrastructure
Related show

Message

Paul Elder Nov. 29, 2022, 5:33 a.m. UTC
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

Comments

Paul Elder July 4, 2023, 10:25 a.m. UTC | #1
ping

On Tue, Nov 29, 2022 at 02:33:23PM +0900, Paul Elder wrote:
> 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
>