libsysprof: increase priority of mapped ring buffer source

We want to reduce the chances we've lost anything in these, which is
pretty important for memory tracing.
This commit is contained in:
Christian Hergert
2023-08-15 14:41:23 -07:00
parent a9cf64903c
commit b96bf5c969
3 changed files with 9 additions and 5 deletions

View File

@ -33,7 +33,8 @@ guint mapped_ring_buffer_create_source (MappedRingBuffer *self,
MappedRingBufferCallback callback,
gpointer user_data);
G_GNUC_INTERNAL
guint mapped_ring_buffer_create_source_full (MappedRingBuffer *self,
guint mapped_ring_buffer_create_source_full (int priority,
MappedRingBuffer *self,
MappedRingBufferCallback callback,
gpointer user_data,
GDestroyNotify destroy);