Re: [PATCH v2 1/2] usertools/telemetry: move main to function

2022-08-31 Thread Bruce Richardson
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 scr

[PATCH v2 1/2] usertools/telemetry: move main to function

2022-08-31 Thread Conor Walsh
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