mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-capture: whitespace cleanup
This commit is contained in:
@ -28,27 +28,27 @@ G_BEGIN_DECLS
|
|||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_copy (const SysprofCaptureCondition *self);
|
SysprofCaptureCondition *sysprof_capture_condition_copy (const SysprofCaptureCondition *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_condition_unref (SysprofCaptureCondition *self);
|
void sysprof_capture_condition_unref (SysprofCaptureCondition *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_ref (SysprofCaptureCondition *self);
|
SysprofCaptureCondition *sysprof_capture_condition_ref (SysprofCaptureCondition *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_new_and (SysprofCaptureCondition *left,
|
SysprofCaptureCondition *sysprof_capture_condition_new_and (SysprofCaptureCondition *left,
|
||||||
SysprofCaptureCondition *right);
|
SysprofCaptureCondition *right);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_new_where_type_in (guint n_types,
|
SysprofCaptureCondition *sysprof_capture_condition_new_where_type_in (guint n_types,
|
||||||
const SysprofCaptureFrameType *types);
|
const SysprofCaptureFrameType *types);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_new_where_time_between (gint64 begin_time,
|
SysprofCaptureCondition *sysprof_capture_condition_new_where_time_between (gint64 begin_time,
|
||||||
gint64 end_time);
|
gint64 end_time);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_new_where_pid_in (guint n_pids,
|
SysprofCaptureCondition *sysprof_capture_condition_new_where_pid_in (guint n_pids,
|
||||||
const gint32 *pids);
|
const gint32 *pids);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCondition *sysprof_capture_condition_new_where_counter_in (guint n_counters,
|
SysprofCaptureCondition *sysprof_capture_condition_new_where_counter_in (guint n_counters,
|
||||||
const guint *counters);
|
const guint *counters);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_condition_match (const SysprofCaptureCondition *self,
|
gboolean sysprof_capture_condition_match (const SysprofCaptureCondition *self,
|
||||||
const SysprofCaptureFrame *frame);
|
const SysprofCaptureFrame *frame);
|
||||||
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureCondition, sysprof_capture_condition_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureCondition, sysprof_capture_condition_unref)
|
||||||
|
|
||||||
|
|||||||
@ -32,10 +32,10 @@ typedef const SysprofCaptureFrame *(*ReadDelegate) (SysprofCaptureReader *);
|
|||||||
|
|
||||||
struct _SysprofCaptureCursor
|
struct _SysprofCaptureCursor
|
||||||
{
|
{
|
||||||
volatile gint ref_count;
|
volatile gint ref_count;
|
||||||
GPtrArray *conditions;
|
GPtrArray *conditions;
|
||||||
SysprofCaptureReader *reader;
|
SysprofCaptureReader *reader;
|
||||||
guint reversed : 1;
|
guint reversed : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@ -39,27 +39,27 @@ typedef struct _SysprofCaptureCursor SysprofCaptureCursor;
|
|||||||
* Returns: %TRUE if iteration should stop, otherwise %FALSE.
|
* Returns: %TRUE if iteration should stop, otherwise %FALSE.
|
||||||
*/
|
*/
|
||||||
typedef gboolean (*SysprofCaptureCursorCallback) (const SysprofCaptureFrame *frame,
|
typedef gboolean (*SysprofCaptureCursorCallback) (const SysprofCaptureFrame *frame,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCursor *sysprof_capture_cursor_new (SysprofCaptureReader *reader);
|
SysprofCaptureCursor *sysprof_capture_cursor_new (SysprofCaptureReader *reader);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_cursor_unref (SysprofCaptureCursor *self);
|
void sysprof_capture_cursor_unref (SysprofCaptureCursor *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureCursor *sysprof_capture_cursor_ref (SysprofCaptureCursor *self);
|
SysprofCaptureCursor *sysprof_capture_cursor_ref (SysprofCaptureCursor *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureReader *sysprof_capture_cursor_get_reader (SysprofCaptureCursor *self);
|
SysprofCaptureReader *sysprof_capture_cursor_get_reader (SysprofCaptureCursor *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_cursor_foreach (SysprofCaptureCursor *self,
|
void sysprof_capture_cursor_foreach (SysprofCaptureCursor *self,
|
||||||
SysprofCaptureCursorCallback callback,
|
SysprofCaptureCursorCallback callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_cursor_reset (SysprofCaptureCursor *self);
|
void sysprof_capture_cursor_reset (SysprofCaptureCursor *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_cursor_reverse (SysprofCaptureCursor *self);
|
void sysprof_capture_cursor_reverse (SysprofCaptureCursor *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_cursor_add_condition (SysprofCaptureCursor *self,
|
void sysprof_capture_cursor_add_condition (SysprofCaptureCursor *self,
|
||||||
SysprofCaptureCondition *condition);
|
SysprofCaptureCondition *condition);
|
||||||
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureCursor, sysprof_capture_cursor_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureCursor, sysprof_capture_cursor_unref)
|
||||||
|
|
||||||
|
|||||||
@ -28,33 +28,33 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _SysprofCaptureReader SysprofCaptureReader;
|
typedef struct _SysprofCaptureReader SysprofCaptureReader;
|
||||||
|
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureReader *sysprof_capture_reader_new (const gchar *filename,
|
SysprofCaptureReader *sysprof_capture_reader_new (const gchar *filename,
|
||||||
GError **error);
|
GError **error);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureReader *sysprof_capture_reader_new_from_fd (int fd,
|
SysprofCaptureReader *sysprof_capture_reader_new_from_fd (int fd,
|
||||||
GError **error);
|
GError **error);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureReader *sysprof_capture_reader_copy (SysprofCaptureReader *self);
|
SysprofCaptureReader *sysprof_capture_reader_copy (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureReader *sysprof_capture_reader_ref (SysprofCaptureReader *self);
|
SysprofCaptureReader *sysprof_capture_reader_ref (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_reader_unref (SysprofCaptureReader *self);
|
void sysprof_capture_reader_unref (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const gchar *sysprof_capture_reader_get_filename (SysprofCaptureReader *self);
|
const gchar *sysprof_capture_reader_get_filename (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const gchar *sysprof_capture_reader_get_time (SysprofCaptureReader *self);
|
const gchar *sysprof_capture_reader_get_time (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gint64 sysprof_capture_reader_get_start_time (SysprofCaptureReader *self);
|
gint64 sysprof_capture_reader_get_start_time (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gint64 sysprof_capture_reader_get_end_time (SysprofCaptureReader *self);
|
gint64 sysprof_capture_reader_get_end_time (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_reader_skip (SysprofCaptureReader *self);
|
gboolean sysprof_capture_reader_skip (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_reader_peek_type (SysprofCaptureReader *self,
|
gboolean sysprof_capture_reader_peek_type (SysprofCaptureReader *self,
|
||||||
SysprofCaptureFrameType *type);
|
SysprofCaptureFrameType *type);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_reader_peek_frame (SysprofCaptureReader *self,
|
gboolean sysprof_capture_reader_peek_frame (SysprofCaptureReader *self,
|
||||||
SysprofCaptureFrame *frame);
|
SysprofCaptureFrame *frame);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const SysprofCaptureMap *sysprof_capture_reader_read_map (SysprofCaptureReader *self);
|
const SysprofCaptureMap *sysprof_capture_reader_read_map (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
@ -70,21 +70,21 @@ const SysprofCaptureProcess *sysprof_capture_reader_read_process
|
|||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const SysprofCaptureSample *sysprof_capture_reader_read_sample (SysprofCaptureReader *self);
|
const SysprofCaptureSample *sysprof_capture_reader_read_sample (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
GHashTable *sysprof_capture_reader_read_jitmap (SysprofCaptureReader *self);
|
GHashTable *sysprof_capture_reader_read_jitmap (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const SysprofCaptureFrameCounterDefine *sysprof_capture_reader_read_counter_define (SysprofCaptureReader *self);
|
const SysprofCaptureFrameCounterDefine *sysprof_capture_reader_read_counter_define (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const SysprofCaptureFrameCounterSet *sysprof_capture_reader_read_counter_set (SysprofCaptureReader *self);
|
const SysprofCaptureFrameCounterSet *sysprof_capture_reader_read_counter_set (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_reader_reset (SysprofCaptureReader *self);
|
gboolean sysprof_capture_reader_reset (SysprofCaptureReader *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_reader_splice (SysprofCaptureReader *self,
|
gboolean sysprof_capture_reader_splice (SysprofCaptureReader *self,
|
||||||
SysprofCaptureWriter *dest,
|
SysprofCaptureWriter *dest,
|
||||||
GError **error);
|
GError **error);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_reader_save_as (SysprofCaptureReader *self,
|
gboolean sysprof_capture_reader_save_as (SysprofCaptureReader *self,
|
||||||
const gchar *filename,
|
const gchar *filename,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureReader, sysprof_capture_reader_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureReader, sysprof_capture_reader_unref)
|
||||||
|
|
||||||
|
|||||||
@ -41,111 +41,111 @@ typedef struct
|
|||||||
} SysprofCaptureStat;
|
} SysprofCaptureStat;
|
||||||
|
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureWriter *sysprof_capture_writer_new_from_env (gsize buffer_size);
|
SysprofCaptureWriter *sysprof_capture_writer_new_from_env (gsize buffer_size);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureWriter *sysprof_capture_writer_new (const gchar *filename,
|
SysprofCaptureWriter *sysprof_capture_writer_new (const gchar *filename,
|
||||||
gsize buffer_size);
|
gsize buffer_size);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureWriter *sysprof_capture_writer_new_from_fd (int fd,
|
SysprofCaptureWriter *sysprof_capture_writer_new_from_fd (int fd,
|
||||||
gsize buffer_size);
|
gsize buffer_size);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureWriter *sysprof_capture_writer_ref (SysprofCaptureWriter *self);
|
SysprofCaptureWriter *sysprof_capture_writer_ref (SysprofCaptureWriter *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_writer_unref (SysprofCaptureWriter *self);
|
void sysprof_capture_writer_unref (SysprofCaptureWriter *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
void sysprof_capture_writer_stat (SysprofCaptureWriter *self,
|
void sysprof_capture_writer_stat (SysprofCaptureWriter *self,
|
||||||
SysprofCaptureStat *stat);
|
SysprofCaptureStat *stat);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_map (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_map (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
guint64 start,
|
guint64 start,
|
||||||
guint64 end,
|
guint64 end,
|
||||||
guint64 offset,
|
guint64 offset,
|
||||||
guint64 inode,
|
guint64 inode,
|
||||||
const gchar *filename);
|
const gchar *filename);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_mark (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_mark (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
guint64 duration,
|
guint64 duration,
|
||||||
const gchar *group,
|
const gchar *group,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
const gchar *message);
|
const gchar *message);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
guint64 sysprof_capture_writer_add_jitmap (SysprofCaptureWriter *self,
|
guint64 sysprof_capture_writer_add_jitmap (SysprofCaptureWriter *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_process (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_process (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
const gchar *cmdline);
|
const gchar *cmdline);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_sample (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_sample (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
gint32 tid,
|
gint32 tid,
|
||||||
const SysprofCaptureAddress *addrs,
|
const SysprofCaptureAddress *addrs,
|
||||||
guint n_addrs);
|
guint n_addrs);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_fork (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_fork (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
gint32 child_pid);
|
gint32 child_pid);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_exit (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_exit (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid);
|
gint32 pid);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_add_timestamp (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_add_timestamp (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid);
|
gint32 pid);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_define_counters (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_define_counters (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
const SysprofCaptureCounter *counters,
|
const SysprofCaptureCounter *counters,
|
||||||
guint n_counters);
|
guint n_counters);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_set_counters (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_set_counters (SysprofCaptureWriter *self,
|
||||||
gint64 time,
|
gint64 time,
|
||||||
gint cpu,
|
gint cpu,
|
||||||
gint32 pid,
|
gint32 pid,
|
||||||
const guint *counters_ids,
|
const guint *counters_ids,
|
||||||
const SysprofCaptureCounterValue *values,
|
const SysprofCaptureCounterValue *values,
|
||||||
guint n_counters);
|
guint n_counters);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_flush (SysprofCaptureWriter *self);
|
gboolean sysprof_capture_writer_flush (SysprofCaptureWriter *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_save_as (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_save_as (SysprofCaptureWriter *self,
|
||||||
const gchar *filename,
|
const gchar *filename,
|
||||||
GError **error);
|
GError **error);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
guint sysprof_capture_writer_request_counter (SysprofCaptureWriter *self,
|
guint sysprof_capture_writer_request_counter (SysprofCaptureWriter *self,
|
||||||
guint n_counters);
|
guint n_counters);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
SysprofCaptureReader *sysprof_capture_writer_create_reader (SysprofCaptureWriter *self,
|
SysprofCaptureReader *sysprof_capture_writer_create_reader (SysprofCaptureWriter *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_capture_writer_splice (SysprofCaptureWriter *self,
|
gboolean sysprof_capture_writer_splice (SysprofCaptureWriter *self,
|
||||||
SysprofCaptureWriter *dest,
|
SysprofCaptureWriter *dest,
|
||||||
GError **error);
|
GError **error);
|
||||||
G_GNUC_INTERNAL
|
G_GNUC_INTERNAL
|
||||||
gboolean _sysprof_capture_writer_splice_from_fd (SysprofCaptureWriter *self,
|
gboolean _sysprof_capture_writer_splice_from_fd (SysprofCaptureWriter *self,
|
||||||
int fd,
|
int fd,
|
||||||
GError **error) G_GNUC_INTERNAL;
|
GError **error) G_GNUC_INTERNAL;
|
||||||
G_GNUC_INTERNAL
|
G_GNUC_INTERNAL
|
||||||
gboolean _sysprof_capture_writer_set_time_range (SysprofCaptureWriter *self,
|
gboolean _sysprof_capture_writer_set_time_range (SysprofCaptureWriter *self,
|
||||||
gint64 start_time,
|
gint64 start_time,
|
||||||
gint64 end_time) G_GNUC_INTERNAL;
|
gint64 end_time) G_GNUC_INTERNAL;
|
||||||
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureWriter, sysprof_capture_writer_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofCaptureWriter, sysprof_capture_writer_unref)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user