From 52ef3902f3fd5a7461efcc019aa4929c540b0cc7 Mon Sep 17 00:00:00 2001 From: Guillaume DIDIER Date: Wed, 3 Jul 2024 11:28:03 +0200 Subject: [PATCH] Fix forgotten debug print --- cache_slice/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cache_slice/src/lib.rs b/cache_slice/src/lib.rs index 828fd3a..63af753 100644 --- a/cache_slice/src/lib.rs +++ b/cache_slice/src/lib.rs @@ -113,6 +113,7 @@ fn monitor_core(addr: *const u8, cpu: u8) -> Result, Error> { #[cfg(debug_assertions)] eprint!("Resetting counters..."); for i in 0..max_cbox { + #[cfg(debug_assertions)] eprint!(" {i}"); write_msr_on_cpu(performance_counters.msr_unc_cbo_per_ctr0[i], cpu, performance_counters.val_reset_ctrs)?; }