mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: allow specifying phase for subprocess output
This is helpful in that you can specify which phase of the capture the process should be run so that it's less likely to show up on profiles.
This commit is contained in:
@ -28,6 +28,13 @@ G_BEGIN_DECLS
|
||||
|
||||
#define SYSPROF_TYPE_RECORDING (sysprof_recording_get_type())
|
||||
|
||||
typedef enum _SysprofRecordingPhase
|
||||
{
|
||||
SYSPROF_RECORDING_PHASE_PREPARE = 1,
|
||||
SYSPROF_RECORDING_PHASE_RECORD,
|
||||
SYSPROF_RECORDING_PHASE_AUGMENT,
|
||||
} SysprofRecordingPhase;
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
G_DECLARE_FINAL_TYPE (SysprofRecording, sysprof_recording, SYSPROF, RECORDING, GObject)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user