mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: give Profiler a spawnable
And pass it along to the recording so that it can manage spawning the subprocess during the record loop.
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
|
||||
#include "sysprof-instrument.h"
|
||||
#include "sysprof-recording.h"
|
||||
#include "sysprof-spawnable.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -37,6 +38,11 @@ G_DECLARE_FINAL_TYPE (SysprofProfiler, sysprof_profiler, SYSPROF, PROFILER, GObj
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofProfiler *sysprof_profiler_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofSpawnable *sysprof_profiler_get_spawnable (SysprofProfiler *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_profiler_set_spawnable (SysprofProfiler *self,
|
||||
SysprofSpawnable *spawnable);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_profiler_add_instrument (SysprofProfiler *self,
|
||||
SysprofInstrument *instrument);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
|
||||
Reference in New Issue
Block a user