6.3-PRERELEASE desktop system periodically freezes momentarily

Toomas Aas toomas.aas at raad.tartu.ee
Tue Jan 8 13:26:30 PST 2008


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).

--
Toomas Aas
... How can i miss you if you won't go away?


More information about the freebsd-stable mailing list