Bug 254532 - hwpmc: sampling mode aliases non-functional on arm64
Summary: hwpmc: sampling mode aliases non-functional on arm64
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Mitchell Horne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 23:46 UTC by Ed Maste
Modified: 2021-05-28 19:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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