mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-analyze: ensure pid info structure for exit time
This commit is contained in:
@ -1294,10 +1294,9 @@ sysprof_document_load_worker (GTask *task,
|
|||||||
}
|
}
|
||||||
else if (tainted->type == SYSPROF_CAPTURE_FRAME_EXIT)
|
else if (tainted->type == SYSPROF_CAPTURE_FRAME_EXIT)
|
||||||
{
|
{
|
||||||
SysprofProcessInfo *info = g_hash_table_lookup (self->pid_to_process_info, GINT_TO_POINTER (pid));
|
SysprofProcessInfo *info = _sysprof_document_process_info (self, pid, TRUE);
|
||||||
|
|
||||||
if (info != NULL)
|
info->exit_time = t;
|
||||||
info->exit_time = t;
|
|
||||||
}
|
}
|
||||||
else if (tainted->type == SYSPROF_CAPTURE_FRAME_MARK)
|
else if (tainted->type == SYSPROF_CAPTURE_FRAME_MARK)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user