[dpdk-dev] 2/6] eal: oops handling API implementation

David Christensen drc at linux.vnet.ibm.com
Tue Aug 3 00:46:48 CEST 2021



On 7/30/21 1:49 AM, jerinj at marvell.com wrote:
> From: Jerin Jacob <jerinj at marvell.com>
> 
> Implement the base oops handling APIs.
> 
> Signed-off-by: Jerin Jacob <jerinj at marvell.com>

Building on POWER generates the following error:

ninja: Entering directory `build'
[1/244] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_unix_eal_oops.c.o'.
../lib/eal/unix/eal_oops.c: In function ‘back_trace_dump’:
../lib/eal/unix/eal_oops.c:33:2: warning: implicit declaration of 
function ‘rte_dump_stack’; did you mean ‘rte_bus_scan’? 
[-Wimplicit-function-declaration]
   rte_dump_stack();
   ^~~~~~~~~~~~~~
   rte_bus_scan
../lib/eal/unix/eal_oops.c:33:2: warning: nested extern declaration of 
‘rte_dump_stack’ [-Wnested-externs]
[19/19] Linking target app/test/dpdk-test.

You can fix the issue by adding <rte_debug.h> to eal_oops.c.  Must be a 
hidden include dependency in the x86/ARM code.

Dave


More information about the dev mailing list