[gnome-builder] vcs: more tracing
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vcs: more tracing
- Date: Fri, 25 Jan 2019 00:41:49 +0000 (UTC)
commit 43f7932b92f65220d796906a59b1f74e7aa5ba4e
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 24 16:41:15 2019 -0800
vcs: more tracing
src/libide/vcs/ide-vcs-monitor.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/vcs/ide-vcs-monitor.c b/src/libide/vcs/ide-vcs-monitor.c
index 5bb44902b..fbc1b4bf4 100644
--- a/src/libide/vcs/ide-vcs-monitor.c
+++ b/src/libide/vcs/ide-vcs-monitor.c
@@ -114,6 +114,8 @@ ide_vcs_monitor_list_status_cb (GObject *object,
g_autoptr(IdeVcsMonitor) self = user_data;
g_autoptr(GListModel) model = NULL;
+ IDE_ENTRY;
+
g_assert (IDE_IS_MAIN_THREAD ());
g_assert (IDE_IS_VCS (vcs));
g_assert (IDE_IS_VCS_MONITOR (self));
@@ -157,6 +159,8 @@ ide_vcs_monitor_list_status_cb (GObject *object,
}
ide_object_unlock (IDE_OBJECT (self));
+
+ IDE_EXIT;
}
static gboolean
@@ -164,6 +168,8 @@ ide_vcs_monitor_cache_cb (gpointer data)
{
IdeVcsMonitor *self = data;
+ IDE_ENTRY;
+
g_assert (IDE_IS_MAIN_THREAD ());
g_assert (IDE_IS_VCS_MONITOR (self));
@@ -185,12 +191,14 @@ ide_vcs_monitor_cache_cb (gpointer data)
ide_object_unlock (IDE_OBJECT (self));
- return G_SOURCE_REMOVE;
+ IDE_RETURN (G_SOURCE_REMOVE);
}
static void
ide_vcs_monitor_queue_reload (IdeVcsMonitor *self)
{
+ IDE_ENTRY;
+
g_assert (IDE_IS_MAIN_THREAD ());
g_assert (IDE_IS_VCS_MONITOR (self));
@@ -201,6 +209,8 @@ ide_vcs_monitor_queue_reload (IdeVcsMonitor *self)
g_object_ref (self),
g_object_unref);
ide_object_unlock (IDE_OBJECT (self));
+
+ IDE_EXIT;
}
static void
@@ -283,6 +293,8 @@ ide_vcs_monitor_start_cb (GObject *object,
static void
ide_vcs_monitor_maybe_reload_locked (IdeVcsMonitor *self)
{
+ IDE_ENTRY;
+
g_assert (IDE_IS_VCS_MONITOR (self));
g_clear_pointer (&self->status_by_file, g_hash_table_unref);
@@ -308,6 +320,8 @@ ide_vcs_monitor_maybe_reload_locked (IdeVcsMonitor *self)
ide_vcs_monitor_start_cb,
g_object_ref (self));
}
+
+ IDE_EXIT;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]