mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-22 14:01:57 +03:00
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.
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.