Commit 149e9a82 authored by Committed by Philip Chimento
profiler: add SPSProfiler implementation
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.
Showing with 2618 additions and 0 deletions