Skip to content
  • Philip Withnall's avatar
    gs-plugin-loader: Add sysprof support for profiling jobs · 4b67aabe
    Philip Withnall authored and Philip Withnall's avatar Philip Withnall committed
    
    
    This can be used with a command like:
    ```
    sysprof-cli --gtk --use-trace-fd -- gnome-software
    ```
    or from within GNOME Builder, to profile gnome-software. The changes
    in this commit use the `sysprof-capture-3` library to write additional
    timing data to the capture, showing the details of every plugin job and
    vfunc call which happen in gnome-software.
    
    This should make it easier to visualise what plugin jobs are happening,
    and which ones are taking a long time.
    
    This commit adds an optional dependency on `sysprof-capture-3`.
    
    Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>
    4b67aabe