Skip to content

Research: find out why `perf record --call-graph=fp` produces incorrect flamegraphs

According to https://github.com/tarantool/tarantool/commit/761053f0aae8125a9484e7412022f9b915cb64b9, --call-graph=fp should be fully supported since 2022. However, (at least some) flamegraphs appear to be malformed:

изображение

изображение

The "unknown" frames under each process_messages_loop are (most likely) due to the inability to stop unwinding (contrary to the patch above).

Build command:

RUSTFLAGS='-g -Cforce-frame-pointers' cargo build --release --all
Original flamegraph (svg) flamegraph-fp-127.svg
Edited by Dmitry Ivanov
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information