State if the trace sorted with ovnisort -c

This commit is contained in:
Rodrigo Arias 2021-12-16 14:24:30 +01:00
parent 26ff310287
commit 500051305c

12
sort.c
View File

@ -443,6 +443,18 @@ process_trace(struct ovni_trace *trace)
free(ring.ev); free(ring.ev);
if(operation_mode == CHECK)
{
if(ret == 0)
{
err("all streams sorted\n");
}
else
{
err("streams NOT sorted\n");
}
}
return ret; return ret;
} }