mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-profile: add SysprofDiagnostic to recordings
This allows instruments to record a diagnostic and have it land as an object in a GListModel of diagnostics available to the API consumer. Such items may be used by recording UI to display issues with the recording to the user.
This commit is contained in:
@ -42,5 +42,13 @@ void _sysprof_recording_add_file_data (SysprofRecording *s
|
||||
const char *path,
|
||||
const char *contents,
|
||||
gssize length);
|
||||
void _sysprof_recording_diagnostic (SysprofRecording *self,
|
||||
const char *domain,
|
||||
const char *format,
|
||||
...) G_GNUC_PRINTF (3, 4);
|
||||
void _sysprof_recording_error (SysprofRecording *self,
|
||||
const char *domain,
|
||||
const char *format,
|
||||
...) G_GNUC_PRINTF (3, 4);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user