mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: ensure end time is > begin time
This commit is contained in:
@ -1183,7 +1183,7 @@ sysprof_document_load_worker (GTask *task,
|
||||
}
|
||||
}
|
||||
|
||||
if (guessed_end_nsec != 0)
|
||||
if (guessed_end_nsec > self->time_span.begin_nsec)
|
||||
self->time_span.end_nsec = guessed_end_nsec;
|
||||
|
||||
/* Ensure all our process have an exit_time set */
|
||||
|
||||
Reference in New Issue
Block a user