From 83a08cc1a42352fc3ca9286de0ab4069bada220a Mon Sep 17 00:00:00 2001 From: Ayrton Munoz Date: Thu, 17 Oct 2024 13:37:50 -0400 Subject: [PATCH] Flush permissive mode log on each queue flush --- runtime/libia2/include/permissive_mode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/libia2/include/permissive_mode.h b/runtime/libia2/include/permissive_mode.h index fad90769c..f0bdde86c 100644 --- a/runtime/libia2/include/permissive_mode.h +++ b/runtime/libia2/include/permissive_mode.h @@ -371,6 +371,7 @@ void flush_queue(FILE *log) { fprintf(log, "pkru: %x\n", err.pkru); } release_queue(q); + fflush(log); } // The main function in the logging thread