Tracy profiler showing statistics for GSource dispatches.
https://files.mastodon.online/media_attachments/files/111/232/057/384/465/158/original/e8071e2a3fb0bc30.png
Today I managed to hack together GSource instrumentation with Tracy. Now this gets into a more complex territory because it's in glib, so Tracy needs to be a separately installed shared library, and it should only start its profiling threads in the process I care about (gnome-shell) and not in all processes that use glib. Tracy has manual profiler start/stop support for this, but I had to add a function that checks whether the profiler had started, and tweak the meson build to output pkgconfig.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.