Sample Header Ad - 728x90

how to generate a flamegraph when using jeprof

0 votes
1 answer
368 views
I am using this command to generate jemolloc output svg file: jeprof --svg texhub-server --base=texhub.out.1.0.i0.heap texhub.out.1.* > output.svg I read document from here(https://github.com/GreptimeTeam/greptimedb/blob/develop/src/common/mem-prof/README.md) and it told that will generate flamegraph, but when I open the output.svg file, it was not a flamegraph. Am I missing something? I have tried to open the file with browser and inkspace. enter image description here this is the jeperf version info: root@texhub-server-service-5c8fcf49d5-qrgh8:/app# jeprof --version jeprof (part of jemalloc 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756) based on pprof (part of gperftools 2.0) Copyright 1998-2007 Google Inc. This is BSD licensed software; see the source for copying conditions and license information. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Asked by Dolphin (791 rep)
Nov 12, 2024, 01:26 PM
Last activity: Feb 10, 2025, 11:07 AM