mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: Move MappedRingBufferSource to libsysprof
As preparation for dropping the GLib dependency from libsysprof-capture, move the `GSource` which links a `MappedRingBuffer` to a `GMainContext` from libsysprof-capture to libsysprof. This requires adding one new piece of API to libsysprof-capture to check whether the `MappedRingBuffer` is empty. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -33,6 +33,7 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "mapped-ring-buffer.h"
|
||||
#include "mapped-ring-buffer-source.h"
|
||||
|
||||
#include "sysprof-control-source.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user