Thank you Damjan for your confirmation.
I'll restore to previous code.
Thanks again.
From: Damjan Marion (damarion)
Sent: Wednesday, September 26, 2018 5:52 PM
To: Lijian Zhang (Arm Technology China)
Cc: d...@barachs.net; vpp-dev@lists.fd.io
Subject: Re: unformat_check_input crashed during multi
Ah, i forgot that you are executing this from constructor before clib_mem_init
happens.
So it is expected not to work. You will need to stay on your old code, sorry
for wasting your time.. :(
--
Damjan
On 26 Sep 2018, at 11:28, Lijian Zhang (Arm Technology China)
mailto:lijian.zh...@arm.com>>
Hi Damjan,
I tried to rewrite the function reading CPU info from /proc/cpuinfo, using VPP
style functions, for multi-arch dynamic function selection.
But function unformat_check_input failed and crashed.
I pasted the /proc/cpuinfo reading function and gdb process as below.
Could you suggest on thi