libsysprof-capture: add collector interface for samples

This commit is contained in:
Christian Hergert
2020-03-05 15:26:31 -08:00
parent b33c3e8af9
commit 43f31fb8b7
2 changed files with 37 additions and 0 deletions

View File

@ -68,5 +68,8 @@ void sysprof_collector_allocate (SysprofCaptureAddress
gint64 alloc_size,
SysprofBacktraceFunc backtrace_func,
gpointer backtrace_data);
SYSPROF_AVAILABLE_IN_3_36
void sysprof_collector_sample (SysprofBacktraceFunc backtrace_func,
gpointer backtrace_data);
G_END_DECLS