Looking for "tsc-tsc" in the pmu tables will fail every time. Instead,
make this an alias for the static TSC event defined in pmc_events.h.
This fixes 'pmcstat -s cycles' on Intel and AMD.
Details
Details
- Reviewers
emaste gnn - Group Reviewers
pmc - Commits
- rG89f1b82a859f: libpmc: fix the 'cycles' event alias on x86
rG937539e0a32c: libpmc: fix the 'cycles' event alias on x86
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable