From d1b228bf28011edd1290bacaf23c2d2a3d94408d Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 25 Aug 2023 16:49:27 -0700 Subject: [PATCH] sysprof: add menu button for callgraph options This is useful for when we are viewing things like flamegraphs which can take advantage of options in the callgraph. Also add some labels for the header bar buttons. --- src/sysprof/sysprof-window.ui | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/sysprof/sysprof-window.ui b/src/sysprof/sysprof-window.ui index 6a335655..5eb96a25 100644 --- a/src/sysprof/sysprof-window.ui +++ b/src/sysprof/sysprof-window.ui @@ -95,6 +95,7 @@ sidebar-show-symbolic true + Toggle Left Panel @@ -158,11 +159,20 @@ open-menu-symbolic primary_menu + Main Menu + + + + + document-properties-symbolic + view_menu + View Options sidebar-show-right-symbolic + Toggle Right Panel @@ -348,4 +358,29 @@ + +
+ Callgraph + + Categorize Frames + win.callgraph.categorize-frames + + + Hide System Libraries + win.callgraph.hide-system-libraries + + + Include Threads + win.callgraph.include-threads + + + Bottom Up + win.callgraph.bottom-up + + + Ignore Process 0 + win.callgraph.ignore-process-0 + +
+