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
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 41811 Build 38700: arc lint + arc unit