libsysprof: add file frame with path condition

This commit is contained in:
Christian Hergert
2019-05-29 10:48:10 -07:00
parent 30524ab3d0
commit 4cfbb9a857
2 changed files with 45 additions and 9 deletions

View File

@ -50,6 +50,8 @@ SYSPROF_AVAILABLE_IN_ALL
SysprofCaptureCondition *sysprof_capture_condition_new_where_counter_in (guint n_counters,
const guint *counters);
SYSPROF_AVAILABLE_IN_ALL
SysprofCaptureCondition *sysprof_capture_condition_new_where_file (const gchar *path);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_capture_condition_match (const SysprofCaptureCondition *self,
const SysprofCaptureFrame *frame);