[gnome-builder] subprocess: add more tracing information



commit d7b8bf0449af7518ee8083f533e7b06b0bdb28b9
Author: Christian Hergert <chergert redhat com>
Date:   Thu Feb 16 14:18:51 2017 -0800

    subprocess: add more tracing information

 libide/subprocess/ide-subprocess-launcher.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libide/subprocess/ide-subprocess-launcher.c b/libide/subprocess/ide-subprocess-launcher.c
index 837d636..6a1dd3e 100644
--- a/libide/subprocess/ide-subprocess-launcher.c
+++ b/libide/subprocess/ide-subprocess-launcher.c
@@ -96,6 +96,8 @@ ide_subprocess_launcher_kill_process_group (GCancellable *cancellable,
   const gchar *ident;
   pid_t pid;
 
+  IDE_ENTRY;
+
   g_assert (G_IS_CANCELLABLE (cancellable));
   g_assert (G_IS_SUBPROCESS (subprocess));
 
@@ -114,6 +116,8 @@ ide_subprocess_launcher_kill_process_group (GCancellable *cancellable,
   g_signal_handlers_disconnect_by_func (cancellable,
                                         G_CALLBACK (ide_subprocess_launcher_kill_process_group),
                                         subprocess);
+
+  IDE_EXIT;
 #else
 # error "Your platform is not yet supported"
 #endif
@@ -123,6 +127,8 @@ static void
 ide_subprocess_launcher_kill_host_process (GCancellable  *cancellable,
                                            IdeSubprocess *subprocess)
 {
+  IDE_ENTRY;
+
   g_assert (G_IS_CANCELLABLE (cancellable));
   g_assert (IDE_IS_BREAKOUT_SUBPROCESS (subprocess));
 
@@ -131,6 +137,8 @@ ide_subprocess_launcher_kill_host_process (GCancellable  *cancellable,
                                         subprocess);
 
   ide_subprocess_force_exit (subprocess);
+
+  IDE_EXIT;
 }
 
 IdeSubprocessLauncher *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]