-
-
Notifications
You must be signed in to change notification settings - Fork 201
How to profile xiu
HarlanC edited this page Nov 1, 2023
·
3 revisions
We can use flamegraph to profile xiu binary, use the following command to generate svg file:
sudo flamegraph -o my_flamegraph.svg -- ./xiu -w
or if the executable is already running, you can provide the PID via -p
(or --pid
) flag:
sudo flamegraph -o my_flamegraph.svg --pid 1337
And then open the svg file in browser to see the flame graph.