mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
ac2a1ece9e
The script uses the recently added _NET_WM_PID window property for finding the program running in Alacritty, fetching its working directory, and spawning a new Alacritty using that directory. |
||
---|---|---|
.. | ||
create-flamegraph.sh | ||
README.md | ||
spawn-alacritty-cwd | ||
ubuntu-install-perf.sh |
scripts
There are two scripts included at the time this README was written, and they both support flamegraph generation on Ubuntu. The first script installs the required dependencies:
scripts/ubuntu-install-perf.sh
The second script will run Alacritty while recording call stacks. After the Alacritty process exits, a flamegraph will be generated and its URI printed.
scripts/create-flamegraph.sh
NOTE: The create-flamegraph.sh script is intended to be run from the alacritty project root.