[dpdk-dev] [PATCH v9] app/pdump: exit with primary process

Pattan, Reshma reshma.pattan at intel.com
Thu Jun 20 14:32:04 CEST 2019

> -----Original Message-----
> From: Suanming.Mou [mailto:mousuanming at huawei.com]
> Sent: Wednesday, May 15, 2019 6:11 AM
> To: dev at dpdk.org
> Cc: Varghese, Vipin <vipin.varghese at intel.com>; Burakov, Anatoly
> <anatoly.burakov at intel.com>; thomas at monjalon.net; Pattan, Reshma
> <reshma.pattan at intel.com>
> Subject: [PATCH v9] app/pdump: exit with primary process
> From: Suanming Mou <mousuanming at huawei.com>
> The pdump tool works as the secondary process. When the primary process
> exits and the residual secondary process keeps running, it will make the
> primary process can't start up again. Since the ex-fbarry files are still
> attached by the secondary process pdump, the 'new' primary process can't
> get these files locked.
> The patch is to set up an alarm which runs every 0.5s periodically to monitor
> the primary process in the pdump. Once the primary exits, so will the
> pdump.
> Signed-off-by: Suanming Mou <mousuanming at huawei.com>
> Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Reviewed-by: Vipin Varghese <vipin.varghese at intel.com>
> Reviewed-by: Reshma Pattan <reshma.pattan at intel.com>
> Reviewed-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> V9:
> * reword the comments and update the git log.
> * move release note to release_19_08.rst.
> * remove dot in name.
Acked-by line is missing, so re acking. Keep my ack if you have to send next version.
Acked-by: Reshma Pattan <reshma.pattan at intel.com>

More information about the dev mailing list