svn commit: r278479 - in head: etc sys/kern
Rui Paulo
rpaulo at me.com
Mon Feb 9 23:23:00 UTC 2015
On Feb 09, 2015, at 03:16 PM, Benjamin Kaduk <bjkfbsd at gmail.com> wrote:
On Mon, Feb 9, 2015 at 6:13 PM, Rui Paulo <rpaulo at freebsd.org> wrote:
Author: rpaulo
Date: Mon Feb 9 23:13:50 2015
New Revision: 278479
URL: https://svnweb.freebsd.org/changeset/base/278479
Log:
Notify devd(8) when a process crashed.
This change implements a notification (via devctl) to userland when
the kernel produces coredumps after a process has crashed.
devd can then run a specific command to produce a human readable crash
report. The command is most usually a helper that runs gdb/lldb
commands on the file/coredump pair. It's possible to use this
functionality for implementing automatic generation of crash reports.
devd(8) will be notified of the full path of the binary that crashed and
the full path of the coredump file.
What advantage does putting this in devd have over a standalone daemon for crash reporting? Is it just the ease of implementation to leverage the existing infrastructure?
Well, I want to automatically inspect all the programs that crashed in a given system. I don't see how you can do that with a standalone daemon. Or maybe I didn't understand what you meant.
More information about the svn-src-all
mailing list