[gnome-builder] sysprof: use gjs source again



commit aeac25f5b00c82772922e126d254b27c93bc9dae
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 3 19:12:36 2019 -0700

    sysprof: use gjs source again

 src/plugins/sysprof/gbp-sysprof-workspace-addin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/plugins/sysprof/gbp-sysprof-workspace-addin.c 
b/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
index 7f8a825a9..7e0633859 100644
--- a/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
+++ b/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
@@ -188,8 +188,7 @@ profiler_run_handler (IdeRunManager *run_manager,
   sysprof_profiler_add_source (profiler, memory_source);
 
   /* TODO: Only add this when a GJS-based app is run */
-  gjs_source = sysprof_tracefd_source_new ();
-  sysprof_tracefd_source_set_envvar (SYSPROF_TRACEFD_SOURCE (gjs_source), "GJS_TRACE_FD");
+  gjs_source = sysprof_gjs_source_new ();
   sysprof_profiler_add_source (profiler, gjs_source);
 
   /* Allow the app to submit us data if it supports "SYSPROF_TRACE_FD" */


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