Bug 254532

Summary: hwpmc: sampling mode aliases non-functional on arm64
Product: Base System Reporter: Ed Maste <emaste>
Component: kernAssignee: Mitchell Horne <mhorne>
Status: In Progress ---    
Severity: Affects Only Me CC: mhorne, mizhka
Priority: ---    
Version: 13.0-STABLE   
Hardware: arm64   
OS: Any   

Description Ed Maste freebsd_committer 2021-03-24 23:46:45 UTC
Attempting to run a basic system-wide sampling mode profiling fails:

# pmcstat -S unhalted-cycles -O /tmp/sample.out
pmcstat: ERROR: Cannot allocate system-mode pmc with specification "unhalted-cycles": Invalid argument

# uname -a
FreeBSD generic 13.0-RC3 FreeBSD 13.0-RC3 #0 n244697-16c1f81f11a: Fri Mar 12 09:29:50 UTC 2021     root@generic:/usr/obj/root/freebsd/arm64.aarch64/sys/GENERIC  arm64