On Tue, Aug 17, 2021 at 9:22 AM Stephen Hemminger
wrote:
>
> On Tue, 17 Aug 2021 08:57:19 +0530
> wrote:
>
> > +#define oops_print(...) rte_log(RTE_LOG_ERR, RTE_LOGTYPE_EAL, __VA_ARGS__)
>
> It is problematic to call rte_log from a signal handler.
> The malloc pool maybe corrupted and rte_log can
On Tue, 17 Aug 2021 08:57:19 +0530
wrote:
> +#define oops_print(...) rte_log(RTE_LOG_ERR, RTE_LOGTYPE_EAL, __VA_ARGS__)
It is problematic to call rte_log from a signal handler.
The malloc pool maybe corrupted and rte_log can call functions that
use malloc.
Even rte_dump_stack() is unsafe from t
From: Jerin Jacob
Implement the base oops handling APIs.
Signed-off-by: Jerin Jacob
---
lib/eal/unix/eal_oops.c | 176 ++--
1 file changed, 169 insertions(+), 7 deletions(-)
diff --git a/lib/eal/unix/eal_oops.c b/lib/eal/unix/eal_oops.c
index 53b580f733..7b
3 matches
Mail list logo