You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command pipeline is as follows:
perf record -g ./app
perf script > app.perf
cat app.perf | ./stackcollapse-perf.pl --all | ./flamegraph.pl > app.svg
My application is a multi-threaded application and the execution time is about 20 minutes. When I finished executing the above pipeline, I got an unexpected svg image, the flame graph does not truly reflect the actual situation。
ReadAlignChunk::mapChunk is a thread execution function, which should be a hotspot, and BarcodeMap::BarcodeMapping is a sub-function of a thread thread function, which should be a secondary hotspot. Another problem is that the call stack is too shallow, with less than 10 layers, far below expectations.
The text was updated successfully, but these errors were encountered:
yuand2022
changed the title
Flamegraph handles multi -threaded program abnormality
Flamegraph handles multi-thread program abnormality
Nov 17, 2022
The command pipeline is as follows:
perf record -g ./app
perf script > app.perf
cat app.perf | ./stackcollapse-perf.pl --all | ./flamegraph.pl > app.svg
My application is a multi-threaded application and the execution time is about 20 minutes. When I finished executing the above pipeline, I got an unexpected svg image, the flame graph does not truly reflect the actual situation。
ReadAlignChunk::mapChunk is a thread execution function, which should be a hotspot, and BarcodeMap::BarcodeMapping is a sub-function of a thread thread function, which should be a secondary hotspot. Another problem is that the call stack is too shallow, with less than 10 layers, far below expectations.
The text was updated successfully, but these errors were encountered: