libsysprof: add helper to get process info array

This commit is contained in:
Christian Hergert
2019-05-10 20:29:15 -07:00
parent 4678273958
commit b4fa5ed04f
2 changed files with 20 additions and 0 deletions

View File

@ -68,6 +68,11 @@ gboolean sysprof_helpers_get_proc_file_finish (SysprofHelpers
GAsyncResult *result,
gchar **contents,
GError **error);
gboolean sysprof_helpers_get_process_info (SysprofHelpers *self,
const gchar *attributes,
GCancellable *cancellable,
GVariant **info,
GError **error);
#ifdef __linux__
gboolean sysprof_helpers_perf_event_open (SysprofHelpers *self,
struct perf_event_attr *attr,