Skip to content
  • Christian Hergert's avatar
    profiler: add SPSProfiler implementation · 149e9a82
    Christian Hergert authored
    Currently this is Linux only as it requires the Linux implementation of
    POSIX signals.
    
    There is a simple API, and the profile output is written to
    /tmp/gjs-profile-<pid>. Description of the capture format is provided
    in profile.cpp.
    
    For apps started with gjs-console, you can toggle on/off profiling by
    sending SIGUSR2 to the process.
    149e9a82