https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238310
Bug ID: 238310
Summary: [PMC] Add Baytrail cpuid to pmc
Product: Base System
Version: 11.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 204804
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204804&action=edit
add baytrail id
When trying to use pmc on a baytrail cpu, the dmesg contains the following
message:
pmc: Unknown Intel CPU.
Since Baytrail cpu seems to be based on the Silvermont micro-architecture, I
just add the necessary id to make it recognized as such. Then, the message
became:
hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA>
IAP/2/40/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC>
IAF/3/40/0x67<INT,USR,SYS,REA,WRI>
Using pmcstat to get the values of differents counters seems to work as
expected.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"