[gnome-builder] plugins/sysprof: add --decode option to sysprof-agent



commit 205cb86b373d8da9baceb5f476df4a9b53a97788
Author: Christian Hergert <chergert redhat com>
Date:   Sun Sep 4 00:24:31 2022 -0700

    plugins/sysprof: add --decode option to sysprof-agent
    
    Use new sysprof-agent option to request decoding symbols in the container
    rather than from the host to increase chances we get something useful.

 src/plugins/sysprof/gbp-sysprof-tool.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/sysprof/gbp-sysprof-tool.c b/src/plugins/sysprof/gbp-sysprof-tool.c
index 3566e8713..9330d4047 100644
--- a/src/plugins/sysprof/gbp-sysprof-tool.c
+++ b/src/plugins/sysprof/gbp-sysprof-tool.c
@@ -130,6 +130,8 @@ gbp_sysprof_tool_handler (IdeRunContext       *run_context,
   capture_file = gbp_sysprof_tool_get_capture_file (self);
   ide_run_context_append_formatted (run_context, "--capture=%s", capture_file);
 
+  ide_run_context_append_argv (run_context, "--decode");
+
   if (ide_settings_get_boolean (settings, "cpu-aid"))
     ide_run_context_append_argv (run_context, "--cpu");
 


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