svn commit: r326125 - head/usr.sbin/kgmon

Bruce Evans brde at optusnet.com.au
Mon Nov 27 03:35:28 UTC 2017


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


More information about the svn-src-all mailing list