RE: [RFC] Dynamic log/trace control via telemetry

2022-08-21 Thread Morten Brørup
> From: Dmitry Kozlyuk [mailto:dmitry.kozl...@gmail.com] > Sent: Saturday, 20 August 2022 17.20 > To: Morten Brørup > Cc: Stephen Hemminger; dev@dpdk.org > Subject: Re: [RFC] Dynamic log/trace control via telemetry > > 2022-08-17 17:34 (UTC+0200), Morten Brørup: >

Re: [RFC] Dynamic log/trace control via telemetry

2022-08-20 Thread Dmitry Kozlyuk
2022-08-17 17:34 (UTC+0200), Morten Brørup: > > From: Dmitry Kozlyuk [mailto:dmitry.kozl...@gmail.com] > > Sent: Wednesday, 17 August 2022 17.15 > > > > 2022-08-16 19:08 (UTC-0700), Stephen Hemminger: > > > Not sure if turning telemetry into a do all control api makes sense. > > > > I'm sure

RE: [RFC] Dynamic log/trace control via telemetry

2022-08-17 Thread Morten Brørup
> From: Dmitry Kozlyuk [mailto:dmitry.kozl...@gmail.com] > Sent: Wednesday, 17 August 2022 17.15 > > 2022-08-16 19:08 (UTC-0700), Stephen Hemminger: > > Not sure if turning telemetry into a do all control api makes sense. > > I'm sure it doesn't, for "do all". > Controlling diagnostic collection

Re: [RFC] Dynamic log/trace control via telemetry

2022-08-17 Thread Stephen Hemminger
On Wed, 17 Aug 2022 18:15:03 +0300 Dmitry Kozlyuk wrote: > 2022-08-16 19:08 (UTC-0700), Stephen Hemminger: > > Not sure if turning telemetry into a do all control api makes sense. > > I'm sure it doesn't, for "do all". > Controlling diagnostic collection and output, however, > is directly rela

Re: [RFC] Dynamic log/trace control via telemetry

2022-08-17 Thread Dmitry Kozlyuk
2022-08-16 19:08 (UTC-0700), Stephen Hemminger: > Not sure if turning telemetry into a do all control api makes sense. I'm sure it doesn't, for "do all". Controlling diagnostic collection and output, however, is directly related to the telemetry purpose. > This seems like a different API. > Also,

Re: [RFC] Dynamic log/trace control via telemetry

2022-08-16 Thread Stephen Hemminger
On Tue, 16 Aug 2022 02:17:38 +0300 Dmitry Kozlyuk wrote: > When debugging a live app, useful info can be obtained from logs or traces > that were not enabled when it was started and it is undesirable to restart. > Furthermore, unless the app authors have considered tracing, > rte_trace_save() is

[RFC] Dynamic log/trace control via telemetry

2022-08-15 Thread Dmitry Kozlyuk
When debugging a live app, useful info can be obtained from logs or traces that were not enabled when it was started and it is undesirable to restart. Furthermore, unless the app authors have considered tracing, rte_trace_save() is only called on exit, i.e. a shutdown is required again. What if th