diff --git a/source/tools/monitor/unity/collector/plugin/unity_nosched/unity_nosched.c b/source/tools/monitor/unity/collector/plugin/unity_nosched/unity_nosched.c index 444e5b3f694261256e8d06ee95a20a589a605dca..45b78eb539348cdd6c701755929477d74b12c358 100644 --- a/source/tools/monitor/unity/collector/plugin/unity_nosched/unity_nosched.c +++ b/source/tools/monitor/unity/collector/plugin/unity_nosched/unity_nosched.c @@ -77,6 +77,7 @@ void flush_to_file(struct stackinfo *ev, int index) globEv.elem[i].e.comm, globEv.elem[i].e.pid, globEv.elem[i].e.delay, (globEv.elem[i].e.exit==globEv.elem[i].e.stamp)?"(EOF)":ts); print_stack(globEv.stackfd, globEv.elem[i].e.ret, ksyms, logfp); + fflush(logfp); } }