From owner-svn-src-all@FreeBSD.ORG Fri Jun 29 15:24:47 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D38C1065672; Fri, 29 Jun 2012 15:24:47 +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 4DF738FC0C; Fri, 29 Jun 2012 15:24:47 +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 q5TFOl8a053466; Fri, 29 Jun 2012 15:24:47 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q5TFOllL053463; Fri, 29 Jun 2012 15:24:47 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201206291524.q5TFOllL053463@svn.freebsd.org> From: John Baldwin Date: Fri, 29 Jun 2012 15:24:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r237789 - stable/9/usr.bin/kdump X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 15:24:47 -0000 Author: jhb Date: Fri Jun 29 15:24:46 2012 New Revision: 237789 URL: http://svn.freebsd.org/changeset/base/237789 Log: MFC 236577: Allow the -p argument to kdump to accept either a PID or a thread ID. Modified: stable/9/usr.bin/kdump/kdump.1 stable/9/usr.bin/kdump/kdump.c Directory Properties: stable/9/usr.bin/kdump/ (props changed) Modified: stable/9/usr.bin/kdump/kdump.1 ============================================================================== --- stable/9/usr.bin/kdump/kdump.1 Fri Jun 29 15:24:42 2012 (r237788) +++ stable/9/usr.bin/kdump/kdump.1 Fri Jun 29 15:24:46 2012 (r237789) @@ -28,7 +28,7 @@ .\" @(#)kdump.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd April 20, 2012 +.Dd June 4, 2012 .Dt KDUMP 1 .Os .Sh NAME @@ -86,9 +86,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/9/usr.bin/kdump/kdump.c ============================================================================== --- stable/9/usr.bin/kdump/kdump.c Fri Jun 29 15:24:42 2012 (r237788) +++ stable/9/usr.bin/kdump/kdump.c Fri Jun 29 15:24:46 2012 (r237789) @@ -249,7 +249,8 @@ main(int argc, char *argv[]) } } if (trpoints & (1<