mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
libsysprof-profile: add SysprofInstrument record vfunc
This commit is contained in:
@ -41,11 +41,17 @@ struct _SysprofInstrumentClass
|
||||
char **(*list_required_policy) (SysprofInstrument *self);
|
||||
DexFuture *(*prepare) (SysprofInstrument *self,
|
||||
SysprofRecording *recording);
|
||||
DexFuture *(*record) (SysprofInstrument *self,
|
||||
SysprofRecording *recording,
|
||||
GCancellable *cancellable);
|
||||
};
|
||||
|
||||
DexFuture * _sysprof_instruments_acquire_policy (GPtrArray *instruments,
|
||||
SysprofRecording *recording);
|
||||
DexFuture *_sysprof_instruments_prepare (GPtrArray *instruments,
|
||||
SysprofRecording *recording);
|
||||
DexFuture *_sysprof_instruments_record (GPtrArray *instruments,
|
||||
SysprofRecording *recording,
|
||||
GCancellable *cancellable);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user