mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-profile: ensure instruments finish recording
They may still be doing operations that need to complete before we can move on to the augmentation phase.
This commit is contained in:
@ -162,6 +162,12 @@ stop_recording:
|
|||||||
*/
|
*/
|
||||||
g_cancellable_cancel (cancellable);
|
g_cancellable_cancel (cancellable);
|
||||||
|
|
||||||
|
/* But we must still wait for instruments to respond to
|
||||||
|
* the cancellation and clean up before we can move onto
|
||||||
|
* the augmentation phase.
|
||||||
|
*/
|
||||||
|
dex_await (dex_ref (record), NULL);
|
||||||
|
|
||||||
/* Let instruments augment the capture. Some instruments may include
|
/* Let instruments augment the capture. Some instruments may include
|
||||||
* extra information about the capture such as symbol names and their
|
* extra information about the capture such as symbol names and their
|
||||||
* address ranges per-process.
|
* address ranges per-process.
|
||||||
|
|||||||
Reference in New Issue
Block a user