system/trace: force flush the output stream
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
7612d2aea8
commit
2fd38eb57b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user