Thread (45 messages) 45 messages, 5 authors, 2022-01-28

Re: [dpdk-dev] [PATCH v3 0/6] support oops handling

From: Thomas Monjalon <hidden>
Date: 2021-09-22 07:34:35

21/09/2021 19:54, Jerin Jacob:
On Tue, Sep 21, 2021 at 11:00 PM Thomas Monjalon [off-list ref] wrote:
quoted
06/09/2021 06:17, jerinj@marvell.com:
quoted
It is handy to get detailed OOPS information like Linux kernel
when DPDK application crashes without losing any of the features
provided by coredump infrastructure by the OS.

This patch series introduces the APIs to handle OOPS in DPDK.
I don't understand how it is related to DPDK.
It abstracts the execution environment/architecture(See Arch Info in
log)[1] details to capture
details on fault handlers to enable additional details on fault from
DPDK application for
additional debugging information. Just like Kernel prints its OOPS on fault.
Not sure it is a good direction to achieve the same features as a kernel.
In recent years, the idea was to make DPDK a focused library.
quoted
It looks something to be handled freely by the application
without DPDK forcing anything.
This NOT enforcing application to use DPDK OOPS handler, instead, if
registered then
it uses the default handler.

Even if the default handler is registered it invokes the application
handler if the application registers
the fault handler. So there is not difference in behavior.
OK
quoted
What is the benefit for other DPDK features?
Could you clarify this question a bit more?
I mean is it used by other parts of DPDK, or just a standalone feature?
quoted
Which problem is it solving?
Better debug trace on fault for DPDK application. Instead of faulting
with no information.
It does not look to be in the scope of DPDK, or I miss something.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help