From e426fef8949c4bd7a4e3ebca84db95a0c90fc918 Mon Sep 17 00:00:00 2001 From: Ying Lv Date: Mon, 13 May 2019 06:00:40 +0800 Subject: [PATCH] rasdaemon:output log timely reason: output log timely Signed-off-by: Ying Lv --- ras-events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ras-events.c b/ras-events.c index 615550c..f32d512 100644 --- a/ras-events.c +++ b/ras-events.c @@ -301,6 +301,7 @@ static void parse_ras_data(struct pthread_data *pdata, struct kbuffer *kbuf, trace_seq_do_printf(&s); trace_seq_destroy(&s); printf("\n"); + fflush(stdout); } static int get_num_cpus(struct ras_events *ras) -- 1.8.3.1