hardware performance monitoring counters

Russell L. Carter rcarter at pinyon.org
Wed May 10 16:14:51 UTC 2017


On 05/10/17 09:06, Alan Somers wrote:
> On Wed, May 10, 2017 at 9:45 AM, Russell L. Carter <rcarter at pinyon.org> wrote:
>> Greetings,
>> I'd like to use the PMC capabilities, but I seem to have
>> a misconfiguration:
>>
>> root at bruno> pmccontrol -l
>> pmccontrol: Initialization of the pmc(3) library failed: No such file or
>> directory
>>
>> In my kernel conf directory:
>>
>> root at bruno> grep -i pmc *
>> [...]
>> RLCBASE:options         HWPMC_HOOKS             # Necessary kernel hooks for
>> hwpmc(4)
>> [...]
>>
>> Both amd and intel systems have the same error on fresh 11/stable
>> amd64 systems.  Mr. google turns up people having the same
>> problem, but no solutions.
>>
>> Does anyone know how I might fix this?
>>
>> Thanks,
>> Russell
> 
> You need to "kldload hwpmc" first.

Perfect, thanks.  Google should be able to find the answer now.

Russell

> -Alan
> 



More information about the freebsd-hackers mailing list