mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
libsysprof-profile: add private API to get recording spawnable
This will still need to be set by the profiler eventually, but this gets the readback API in place so we can use it from instruments.
This commit is contained in:
@ -22,13 +22,15 @@
|
||||
|
||||
#include "sysprof-instrument.h"
|
||||
#include "sysprof-recording.h"
|
||||
#include "sysprof-spawnable.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
SysprofRecording *_sysprof_recording_new (SysprofCaptureWriter *writer,
|
||||
SysprofInstrument **instruments,
|
||||
guint n_instruments);
|
||||
void _sysprof_recording_start (SysprofRecording *self);
|
||||
SysprofCaptureWriter *_sysprof_recording_writer (SysprofRecording *self);
|
||||
SysprofRecording *_sysprof_recording_new (SysprofCaptureWriter *writer,
|
||||
SysprofInstrument **instruments,
|
||||
guint n_instruments);
|
||||
void _sysprof_recording_start (SysprofRecording *self);
|
||||
SysprofCaptureWriter *_sysprof_recording_writer (SysprofRecording *self);
|
||||
SysprofSpawnable *_sysprof_recording_get_spawnable (SysprofRecording *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user