mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: add instruments to recording and list policy
We need to know all the policy that must be acquired upfront so that we don't have to do individual queries on policy.
This commit is contained in:
@ -20,11 +20,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sysprof-instrument.h"
|
||||
#include "sysprof-recording.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
SysprofRecording *_sysprof_recording_new (SysprofCaptureWriter *writer);
|
||||
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);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user