libsysprof-analyze: record exit time of processes

This will allow us to treat them as a duration in a chart.
This commit is contained in:
Christian Hergert
2023-07-06 14:52:02 -07:00
parent 65a567f0d1
commit 2b29ce8e73
2 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,7 @@ typedef struct _SysprofProcessInfo
SysprofSymbol *fallback_symbol;
SysprofSymbol *symbol;
int pid;
gint64 exit_time;
} SysprofProcessInfo;
SysprofProcessInfo *sysprof_process_info_new (SysprofMountNamespace *mount_namespace,