mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
capture: add sp_capture_writer_new_from_env()
This will return NULL if there is not sufficient data from the environment to setup tracing.
This commit is contained in:
@ -38,6 +38,7 @@ typedef struct
|
||||
gsize padding[48];
|
||||
} SpCaptureStat;
|
||||
|
||||
SpCaptureWriter *sp_capture_writer_new_from_env (gsize buffer_size);
|
||||
SpCaptureWriter *sp_capture_writer_new (const gchar *filename,
|
||||
gsize buffer_size);
|
||||
SpCaptureWriter *sp_capture_writer_new_from_fd (int fd,
|
||||
|
||||
Reference in New Issue
Block a user