This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 2fd38eb57bc63e0e1208c9bf6d4a4ae864b6de04 Author: chao.an <anc...@xiaomi.com> AuthorDate: Wed Mar 30 22:10:03 2022 +0800 system/trace: force flush the output stream Signed-off-by: chao.an <anc...@xiaomi.com> --- system/trace/trace_dump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/trace/trace_dump.c b/system/trace/trace_dump.c index 9ffd788..a75af19 100644 --- a/system/trace/trace_dump.c +++ b/system/trace/trace_dump.c @@ -653,6 +653,8 @@ static int trace_dump_one(FAR FILE *out, break; } + fflush(out); + /* Return the length of the processed note */ return note->nc_length;