Re: [dpdk-dev] [PATCH] usertools/dpdk-telemetry: print name of app when connected

2021-02-16 Thread Burakov, Anatoly
On 16-Feb-21 11:02 AM, Bruce Richardson wrote: On Tue, Feb 16, 2021 at 10:40:36AM +, Burakov, Anatoly wrote: On 16-Feb-21 9:44 AM, Bruce Richardson wrote: When the dpdk-telemetry client connects to a DPDK instance, we can use the PID provided in the initial connection message to query from

Re: [dpdk-dev] [PATCH] usertools/dpdk-telemetry: print name of app when connected

2021-02-16 Thread Bruce Richardson
On Tue, Feb 16, 2021 at 10:40:36AM +, Burakov, Anatoly wrote: > On 16-Feb-21 9:44 AM, Bruce Richardson wrote: > > When the dpdk-telemetry client connects to a DPDK instance, we can use the > > PID provided in the initial connection message to query from /proc the name > > of the process we are

Re: [dpdk-dev] [PATCH] usertools/dpdk-telemetry: print name of app when connected

2021-02-16 Thread Burakov, Anatoly
On 16-Feb-21 9:44 AM, Bruce Richardson wrote: When the dpdk-telemetry client connects to a DPDK instance, we can use the PID provided in the initial connection message to query from /proc the name of the process we are connected to, and display that to the user. We use the "cmdline" procfs entry

[dpdk-dev] [PATCH] usertools/dpdk-telemetry: print name of app when connected

2021-02-16 Thread Bruce Richardson
When the dpdk-telemetry client connects to a DPDK instance, we can use the PID provided in the initial connection message to query from /proc the name of the process we are connected to, and display that to the user. We use the "cmdline" procfs entry for the query since that is available on both Li