Integrate sysprof for profiling and data collection
In GNOME, we're working on a new initiative for platform profiling. To do this, the Sysprof project now provides a libsysprof-capture-3.a
static library which can log a number of data types including counters, files, marks, stack traces, and more.
GTK itself checks for GTK_TRACE_FD=N
which is set by Sysprof when profiling an application. We could do the same for GStreamer using something like GST_TRACE_FD=N
.
Doing so would allow us to correlate between compositor data, toolkit data, gstreamer pipelines, and application events all within one application.
You can find some more information about the effort in this blog post:
https://blogs.gnome.org/chergert/2019/05/30/sysprof-developments/
Also, the Initiaitve in gitlab: