Files
Mingyu Chen 16e3c78dbd [opt](cpu-profile) enable cpu profile in BE webui (#40330)
Visit `be_ip:webserver_port/cpu`
You can get cpu profile like this:
<img width="736" alt="image"
src="https://github.com/user-attachments/assets/05da73ca-c02a-4ec3-a2fb-83ef80ff9553">

or

![img_v3_02ec_e8d45934-ddaf-45de-818e-a7e4899ec7cg](https://github.com/user-attachments/assets/6b1a4e15-a219-456b-9d1f-e3be88177db5)
2024-09-05 22:02:58 +08:00

14 lines
318 B
Plaintext

These 2 files:
- flamegraph.pl
- stackcollapse-perf.pl
are copied from:
https://github.com/brendangregg/FlameGraph/blob/master/flamegraph.pl
https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse-perf.pl
which are under license:
https://github.com/brendangregg/FlameGraph/blob/master/docs/cddl1.txt