HomeFreeBSD

libpmc: fix "instructions" alias on Intel

Description

libpmc: fix "instructions" alias on Intel

The typo prevents the counter from being allocated.

This fixes e.g. pmcstat -s instructions sleep 5

Reviewed by: mizhka, gnn, ray, emaste
MFC after: 5 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30527

(cherry picked from commit bc1a6a9d692a1f827514144b6bce0654a8be4f4d)

Details

Provenance
mhorneAuthored on May 31 2021, 2:16 PM
Reviewer
mizhka
Differential Revision
D30527: libpmc: fix Intel "instructions" alias
Parents
rG96da64391de9: hwpmc: fix PMC_CPU_LAST
Branches
Unknown
Tags
Unknown