Re: [PATCH 00/33] [RFC] Non disruptive application core dump infrastructure

From: Janani Venkataraman
Date: Mon Mar 24 2014 - 05:39:14 EST



On 03/21/2014 01:47 PM, Karel Zak wrote:
On Thu, Mar 20, 2014 at 03:09:03PM +0530, Janani Venkataraman wrote:
Gencore Daemon

The programs can request a dump using gencore() API, provided through
libgencore. This is implemented through a daemon which listens on a UNIX File
socket. The daemon is started immediately post installation.
The gencore command looks like a good idea, but why we need the
client-server infrastructure? At least at first glance it seems
like overkill.
We are also looking at a process being able to do a self dump. ptrace SEIZE/INTERRUPT
cannot be used on one-self and hencewe need to offload the dump another 'process'.
Since we can't fork(), as it is not signal safe, we need a dedicated process to handle
such requests. Hence the server.

https://lkml.org/lkml/2013/9/3/122


We would like to push this to one of the following packages:
a) util-linux
b) coreutils
c) procps-ng
d) somewhere near to gdb :-)

Karel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/