6.3-PRERELEASE desktop system periodically freezes momentarily

Kris Kennaway kris at FreeBSD.org
Tue Jan 8 13:37:29 PST 2008

Toomas Aas wrote:
> Kris Kennaway wrote:
>> OK, you may need to set up hwpmc or LOCK_PROFILING to figure out what 
>> your system is doing at that moment.
> I set up a kernel with hwpmc support, but am feeling a bit (to put it 
> mildly) lost, since I haven't really done anything with hwpmc ever 
> before. I was hoping to maybe figure out whether this freezing is caused 
> by some device interrupt, so I tried:
> # pmcstat -S interrupts -o /tmp/sample.txt
> But all I get is this:
> pmcstat: ERROR: Cannot allocate system-mode pmc with specification 
> "interrupts": Invalid argument
> Yet "interrupts" is listed in pmc(3).
> I'm sure I'm making some ridiculous error.
> Having now revealed my ignorance, I go to sleep(1).

Probably you want 'instructions'.


More information about the freebsd-stable mailing list