Re: [dpdk-dev] 2/6] eal: oops handling API implementation
From: David Christensen <hidden>
Date: 2021-08-02 22:46:58
From: David Christensen <hidden>
Date: 2021-08-02 22:46:58
On 7/30/21 1:49 AM, jerinj@marvell.com wrote:
From: Jerin Jacob <redacted> Implement the base oops handling APIs. Signed-off-by: Jerin Jacob <redacted>
Building on POWER generates the following error: ninja: Entering directory `build' [1/244] Compiling C object 'lib/76b5a35@@rte_eal@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