lkml.org 
[lkml]   [2014]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/33] [RFC] Non disruptive application core dump infrastructure

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
>



\
 
 \ /
  Last update: 2014-03-24 11:21    [W:0.261 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site