mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: add scaffolding for controlfd source
This is internal to the profile and will always be active when running subprocesses with Sysprof.
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "sysprof-controlfd-instrument-private.h"
|
||||
#include "sysprof-profiler.h"
|
||||
#include "sysprof-recording-private.h"
|
||||
|
||||
@ -82,6 +83,8 @@ static void
|
||||
sysprof_profiler_init (SysprofProfiler *self)
|
||||
{
|
||||
self->instruments = g_ptr_array_new_with_free_func (g_object_unref);
|
||||
|
||||
sysprof_profiler_add_instrument (self, _sysprof_controlfd_instrument_new ());
|
||||
}
|
||||
|
||||
SysprofProfiler *
|
||||
|
||||
Reference in New Issue
Block a user