From owner-svn-src-head@freebsd.org Mon Nov 27 03:35:28 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77267DF76B0; Mon, 27 Nov 2017 03:35:28 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail106.syd.optusnet.com.au (mail106.syd.optusnet.com.au [211.29.132.42]) by mx1.freebsd.org (Postfix) with ESMTP id 414E01F25; Mon, 27 Nov 2017 03:35:27 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from [192.168.0.102] (c110-21-101-228.carlnfd1.nsw.optusnet.com.au [110.21.101.228]) by mail106.syd.optusnet.com.au (Postfix) with ESMTPS id 8F01A3C3F80; Mon, 27 Nov 2017 14:35:20 +1100 (AEDT) Date: Mon, 27 Nov 2017 14:35:19 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Edward Tomasz Napierala cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r326125 - head/usr.sbin/kgmon In-Reply-To: <20171126195401.GA3787@brick> Message-ID: <20171127141834.V1162@besplex.bde.org> References: <201711231241.vANCf58n091345@repo.freebsd.org> <20171124002239.T1335@besplex.bde.org> <20171126195401.GA3787@brick> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=cK6QihWN c=1 sm=1 tr=0 a=PalzARQSbocsUSjMRkwAPg==:117 a=PalzARQSbocsUSjMRkwAPg==:17 a=kj9zAlcOel0A:10 a=1PkGfIDIAAAA:8 a=4mXlgclT9S5zBQdJ5p4A:9 a=CjuIK1q_8ugA:10 a=4u2QYngNSdgA:10 a=jcL-Sa2L8s019nTZ0LyB:22 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 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, 27 Nov 2017 03:35:28 -0000 On Sun, 26 Nov 2017, Edward Tomasz Napierala wrote: > On 1124T0138, Bruce Evans wrote: >> On Thu, 23 Nov 2017, Edward Tomasz Napierala wrote: >> >>> Log: >>> Mark kgmon(8) obsolete, redirecting users to pmcstat(8). >> >> It isn't obsolete. pmcstat can't do at least full (non-statistical) >> call graphs and high-resolution profiling. > > [snip detailed explanation] > > Thanks. Based on your arguments (and on the fact that I've tried > again to use it, following instructions from the URL below[1], and > this time it actually worked), I think I'll revert this commit, > and just add an ".Xr pmcstat 8" instead. Thanks. > 1. http://lserinol.blogspot.co.uk/2009/01/freebsd-kernel-profiling-with-kgmon.html This is very basic (only the about confinguration), but that makes it short enough to put in a section 4 man page or just in kgdb(8). I don't know of any tutorial for how to use either kgmon or pmcstat. Bruce