[PATCH v2 1/2] usertools/telemetry: move main to function
Bruce Richardson
bruce.richardson at intel.com
Wed Aug 31 13:55:45 CEST 2022
On Wed, Aug 31, 2022 at 12:52:49PM +0100, Conor Walsh wrote:
> In order to allow other tools to use the generic telemetry functions
> provided within dpdk-telemetry move the "main" part of the code to
> a function and only run this code if the tool has been called by a
> user. This allows other scripts to use the tool as a module to
> prevent code duplication.
>
> Signed-off-by: Conor Walsh <conor.walsh at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list