[gtk/new-sysprof: 14/15] Update the docs around profiling




commit 40f3da19aee019890fd5a570ba0ceb45ac4bcc97
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 20 17:46:53 2020 -0400

    Update the docs around profiling
    
    Mention sysprof-cli, and stop mentioning GTK_TRACE_FD.

 docs/reference/gtk/running.md | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/docs/reference/gtk/running.md b/docs/reference/gtk/running.md
index 6bed8abe13..2135eaa8d5 100644
--- a/docs/reference/gtk/running.md
+++ b/docs/reference/gtk/running.md
@@ -335,17 +335,13 @@ GSettings schema.
 ## Profiling {#profiling}
 
 GTK supports profiling with sysprof. It exports timing information
-about frameclock phases and various characteristics of GskRenders
+about frameclock phases and various characteristics of GskRenderers
 in a format that can be displayed by sysprof or GNOME Builder.
 
-A simple way to capture data is to set the `GTK_TRACE` environment
-variable. When it is set, GTK will write profiling data to a file
-called `gtk.PID.syscap`.
+A simple way to capture data is to run your application under the
+`sysprof-cli` wrapper, which will write profiling data to a file
+called `capture.syscap`.
 
 When launching the application from sysprof, it will set the
 `SYSPROF_TRACE_FD` environment variable to point GTK at a file
 descriptor to write profiling data to.
-
-When GtkApplication registers with D-Bus, it exports the
-`org.gnome.Sysprof2.Profiler` D-Bus interface that lets sysprof
-request profiling data at runtime.


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