I have a weird case when running sightglass (on Ubuntu 22.04, x86-64) measuring with performance counters. They all read zero!
The test in counters.rs in the recorder crate, works perfectly fine and reads sensible values, but when I run any benchmark with sightglass-cli, the reading of counter values return zeros. No reset of the counters take place between the start and the end measurements.
Any pointers on how to debug?
Mats Brorsson said:
It turns out removing --pin leads to some meaningful results.
Last updated: Dec 06 2025 at 06:05 UTC