Skip to content

GsDebug improvements

Philip Withnall requested to merge pwithnall/gnome-software:debug-mutex into master

Further to @mwleeds recent GsDebug improvements, I got a bit carried away in doing some further improvements. Mainly, this:

  • Drops the mutex and getenv() calls on the fast path, which should speed it up a little more (not profiled)
  • Allows enabling verbose mode at runtime, which means we could hook it up to a D-Bus interface in future
  • Drops a few runtime setenv() calls, which are all not thread-safe and should all eventually be removed

Merge request reports