[dpdk-dev] [PATCH] app/pdump: exits once primary app exited

Burakov, Anatoly anatoly.burakov at intel.com
Fri Apr 26 15:46:01 CEST 2019


On 26-Apr-19 1:08 PM, Suanming.Mou wrote:
> 
> On 2019/4/26 18:56, Varghese, Vipin wrote:
>>
>> I will leave this suggestion open for comments from the maintainer.
>>
> Hi,
> 
> Thanks for your suggestion. I have also tried to add an slave core to 
> monitor the primary status this afternoon.  It works.
> 
> I doubt if it can be add an new option as you suggested, but which will 
> also require people who complain the exiting to add an extra slave core 
> for that.
> 
> Please waiting for the new patch in one or two days.
> 

You can use alarm API to check for this regularly. It's not like the 
interrupt thread is doing much anyway. Just set alarm to fire every N 
seconds, and that's it.

-- 
Thanks,
Anatoly


More information about the dev mailing list