From owner-svn-src-head@FreeBSD.ORG Mon Feb 9 23:16:04 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03AF654B; Mon, 9 Feb 2015 23:16:04 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C45CF09; Mon, 9 Feb 2015 23:16:03 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id em10so4864470wid.1; Mon, 09 Feb 2015 15:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XJyQ+0uX+hHoOWc3bsi/hpLs5CsMNLmiSicE8lCGRis=; b=0mtxc2XRx74XRL14z9tat1wf9DePZB+Rs6XQwfnFlkQ4wbo+05k/dpgUOwCuPNF5uu bX8pR8M/lac8Vz4NbiCmk3qmiUKrrArkJiuCrsfqNN2C40M/uB8204xatbLTSdoudXX3 yCbAXgpOgHddnWEo8MQuas/36Eme8pdAh2TkiFE5ONWn5bUHchl4qLjIQAUxEXDC8rGe NmJ1gd/K5kLand+kKKioEsz+7Rui5okxMGgtT/Kul0Z5zW3QvlAHEEToe9RxOgpm8yQ8 PdM3j5Mu5aQCSIYMQ/QNxnZ4Fm8ar6Pn8xwhyVjz56OazqFrz0LQRA2UxU8WKNdIGCBR vP2Q== MIME-Version: 1.0 X-Received: by 10.181.29.168 with SMTP id jx8mr20670537wid.8.1423523761924; Mon, 09 Feb 2015 15:16:01 -0800 (PST) Received: by 10.27.77.141 with HTTP; Mon, 9 Feb 2015 15:16:01 -0800 (PST) In-Reply-To: <201502092313.t19NDpoS083043@svn.freebsd.org> References: <201502092313.t19NDpoS083043@svn.freebsd.org> Date: Mon, 9 Feb 2015 18:16:01 -0500 Message-ID: Subject: Re: svn commit: r278479 - in head: etc sys/kern From: Benjamin Kaduk To: Rui Paulo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 23:16:04 -0000 On Mon, Feb 9, 2015 at 6:13 PM, Rui Paulo 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