svn commit: r278479 - in head: etc sys/kern

Benjamin Kaduk bjkfbsd at gmail.com
Mon Feb 9 23:16:04 UTC 2015


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?

-Ben


More information about the svn-src-head mailing list