No description
- Python 91.1%
- Shell 8.9%
| docs | ||
| lib | ||
| scripts | ||
| tests | ||
| workloads | ||
| conftest.py | ||
| README.md | ||
FreeBSD PMC Validation Suite
Kernel-level validation framework for hwpmc on modern x86 (AMD Zen focused). Enhance with DTrace for more tracing.
Requirements
-
FreeBSD with hwpmc enabled
-
pmcstat
-
Python + pytest
sudo pkg install python3 py311-pip py311-pytest
Enable hwpmc
Add to /boot/loader.conf:
hwpmc_load="YES"
Running
Collect example:
pmcstat -s instructions -O reports/cpu.txt -l 20
Test:
pytest tests/
Validations
- Counting accuracy
- Workload correlation
- Process attach
- System-wide monitoring
- Sampling mode
Target
Designed for:
- FreeBSD kernel PMU validation
- AMD platform bring-up
- Performance tooling verification