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

Details

Provenance
mhorneAuthored on May 31 2021, 2:16 PM
Reviewer
mizhka
Differential Revision
D30527: libpmc: fix Intel "instructions" alias
Parents
rGd3f7975fcb34: thread_reap_barrier(): remove unused variable
Branches
Unknown
Tags
Unknown