mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: flush events when disabling
This commit is contained in:
@ -569,6 +569,8 @@ sysprof_perf_event_stream_disable (SysprofPerfEventStream *self,
|
|||||||
|
|
||||||
self->active = FALSE;
|
self->active = FALSE;
|
||||||
|
|
||||||
|
sysprof_perf_event_stream_flush (self);
|
||||||
|
|
||||||
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ACTIVE]);
|
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ACTIVE]);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user