[PATCH v3 0/2] Improve docs on getting info on running process
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 18 19:40:20 CEST 2023
On Tue, 18 Jul 2023 17:48:00 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> Add details to our documentation on how to register logging for a
> component. Also provide guidelines on when to use logs vs tracing
> vs telemetry.
>
> V3: Moved new doc section on runtime info, and other minor changes flagged
> by David on review.
>
> V2: extended second patch based on the feedback provided.
> Hopefully, we can keep this section short and clear as the
> revisions roll! :-)
>
> Bruce Richardson (2):
> doc/contributing: provide coding details for dynamic logging
> doc/contributing: guidelines for logging, tracing and telemetry
>
> doc/guides/contributing/coding_style.rst | 18 +++++++++
> doc/guides/contributing/design.rst | 49 ++++++++++++++++++++++++
> doc/guides/prog_guide/telemetry_lib.rst | 2 +
> doc/guides/prog_guide/trace_lib.rst | 2 +
> lib/cfgfile/rte_cfgfile.c | 2 +
> 5 files changed, 73 insertions(+)
>
> --
> 2.39.2
>
Should we add explicit statements about:
- Static logtypes (especially LOGTYPE_PMD) should not be used.
- New static logtypes must not be added.
More information about the dev
mailing list