Date: Mon, 03 Jun 2019 13:28:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238310] [PMC] Add Baytrail cpuid to pmc Message-ID: <bug-238310-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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: bugs@FreeBSD.org Reporter: nicolas.masse@stormshield.eu 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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238310-227>
