Skip to content

log level enhancements

Thomas Monjalon dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 3 repliesIn review
  2. v64 patches 6 repliesSuperseded
  3. v54 patches 2 repliesSuperseded

Changes in v7 from the cover letter

- free sorted array of log types

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4log: move private functionslib/librte_eal/common/eal_common_log.c lib/librte_eal/common/eal_common_options.c lib/librte_eal/common/eal_log.h +5 more+55 -500 replies
2/4log: introduce macro for maximum levellib/librte_eal/common/eal_common_log.c lib/librte_eal/common/eal_common_options.c lib/librte_eal/include/rte_log.h+6 -50 replies
3/4log: catch invalid level option numberlib/librte_eal/common/eal_common_options.c+7 -20 replies
4/4log: add option argument helplib/librte_eal/common/eal_common_log.c lib/librte_eal/common/eal_common_options.c lib/librte_eal/common/eal_log.h +2 more+97 -182 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchBruce RichardsonAndrew RybchenkoDavid MarchandRay Kinsella
1/4A-b A-b R-b
2/4A-b A-b R-b
3/4A-b A-b R-b
4/4A-b A-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v7 thread

Cover letter [dpdk-dev] [PATCH v7 0/4] log level enhancements

This series is a part of a bigger one split after v4:
"improve options help"

The main intent of this series is to provide a nice help for the --log-level option.

v7:
- free sorted array of log types
v6:
- fix commit log
v5:
- rename more private functions
- sort log types when printing help

Thomas Monjalon (4):
log: move private functions
log: introduce macro for maximum level
log: catch invalid level option number
log: add option argument help

 lib/librte_eal/common/eal_common_log.c     | 90 ++++++++++++++++------
 lib/librte_eal/common/eal_common_options.c | 60 ++++++++++-----
 lib/librte_eal/common/eal_log.h            | 32 ++++++++
 lib/librte_eal/common/eal_private.h        | 29 -------
 lib/librte_eal/include/rte_log.h           | 12 +++
 lib/librte_eal/linux/eal.c                 |  3 +-
 lib/librte_eal/linux/eal_log.c             |  4 +-
 lib/librte_eal/version.map                 |  1 +
 lib/librte_eal/windows/eal.c               |  3 +-
 lib/librte_eal/windows/eal_log.c           |  6 +-
 10 files changed, 165 insertions(+), 75 deletions(-)
 create mode 100644 lib/librte_eal/common/eal_log.h
Signature · 1 line
2.31.1