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
This commit is contained in:
parent
d3f7975fcb
commit
bc1a6a9d69
@ -72,7 +72,7 @@ static struct pmu_alias pmu_intel_alias_table[] = {
|
||||
{"BRANCH-MISSES-RETIRED", "BR_MISP_RETIRED.ALL_BRANCHES"},
|
||||
{"cycles", "tsc-tsc"},
|
||||
{"unhalted-cycles", "CPU_CLK_UNHALTED.THREAD_P_ANY"},
|
||||
{"instructions", "inst-retired.any_p"},
|
||||
{"instructions", "inst_retired.any_p"},
|
||||
{"branch-mispredicts", "br_misp_retired.all_branches"},
|
||||
{"branches", "br_inst_retired.all_branches"},
|
||||
{"interrupts", "hw_interrupts.received"},
|
||||
|
Loading…
Reference in New Issue
Block a user