Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 14:35:19 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Edward Tomasz Napierala <trasz@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r326125 - head/usr.sbin/kgmon
Message-ID:  <20171127141834.V1162@besplex.bde.org>
In-Reply-To: <20171126195401.GA3787@brick>
References:  <201711231241.vANCf58n091345@repo.freebsd.org> <20171124002239.T1335@besplex.bde.org> <20171126195401.GA3787@brick>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171127141834.V1162>