Details
Details
- Reviewers
- None
- Commits
- rG1f5679569dd4: libpmc: pmc_init() should avoid overflowing pmc_class_table
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/libpmc/libpmc.c | ||
---|---|---|
1476 | Presumably this was a hacky alternative way to write that pm_classes contained a PMC_CLASS_TSC? I imagine this check is now redundant. | |
1607 | Should we have an equivalent of this for the classes case? Also for the ARMV7/8 switches we now have? I guess continuing with the subset libpmc has been taught about is helpful, but silently not getting a set of counters also isn't... |