libsysprof-profile: add recording session fiber

Setup instrument policy, preparation, etc.
This commit is contained in:
Christian Hergert
2023-05-26 15:05:29 -07:00
parent fac12d657a
commit b4e6f7c915
5 changed files with 208 additions and 133 deletions

View File

@ -79,7 +79,7 @@ sigint_handler (gpointer user_data)
if (count == 0)
{
g_printerr ("%s\n", "Stopping profiler. Press twice more ^C to force exit.");
sysprof_recording_stop (active_recording);
sysprof_recording_stop_async (active_recording, NULL, NULL, NULL);
}
count++;