From owner-svn-src-stable@FreeBSD.ORG Fri Jun 29 15:24:58 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 858E2106585F; Fri, 29 Jun 2012 15:24:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DE8EF8FC15; Fri, 29 Jun 2012 15:24:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q5TFOtYe053511; Fri, 29 Jun 2012 15:24:55 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q5TFOtqL053508; Fri, 29 Jun 2012 15:24:55 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201206291524.q5TFOtqL053508@svn.freebsd.org> From: John Baldwin Date: Fri, 29 Jun 2012 15:24:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r237790 - stable/8/usr.bin/kdump X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 15:24:58 -0000 Author: jhb Date: Fri Jun 29 15:24:55 2012 New Revision: 237790 URL: http://svn.freebsd.org/changeset/base/237790 Log: MFC 236577: Allow the -p argument to kdump to accept either a PID or a thread ID. Modified: stable/8/usr.bin/kdump/kdump.1 stable/8/usr.bin/kdump/kdump.c Directory Properties: stable/8/usr.bin/kdump/ (props changed) Modified: stable/8/usr.bin/kdump/kdump.1 ============================================================================== --- stable/8/usr.bin/kdump/kdump.1 Fri Jun 29 15:24:46 2012 (r237789) +++ stable/8/usr.bin/kdump/kdump.1 Fri Jun 29 15:24:55 2012 (r237790) @@ -32,7 +32,7 @@ .\" @(#)kdump.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd April 20, 2012 +.Dd June 4, 2012 .Dt KDUMP 1 .Os .Sh NAME @@ -90,9 +90,9 @@ string. Suppressing this feature yields a more consistent output format and is easily amenable to further processing. .It Fl p Ar pid -Display only trace events that correspond to the process +Display only trace events that correspond to the process or thread .Ar pid . -This may be useful when there are multiple processes recorded in the +This may be useful when there are multiple processes or threads recorded in the same trace file. .It Fl R Display relative timestamps (time since previous entry). Modified: stable/8/usr.bin/kdump/kdump.c ============================================================================== --- stable/8/usr.bin/kdump/kdump.c Fri Jun 29 15:24:46 2012 (r237789) +++ stable/8/usr.bin/kdump/kdump.c Fri Jun 29 15:24:55 2012 (r237790) @@ -253,7 +253,8 @@ main(int argc, char *argv[]) } } if (trpoints & (1<