Extract and PoC for https://github.com/iTrooz/AndroidPattern
This repository shows how to make a flame graph out of a C++ program
make
https://github.com/brendangregg/FlameGraph
perf record -F max --call-graph dwarf,64000 -g -- ./attempt7_iter_cpp
perf script | stackcollapse-perf.pl | flamegraph.pl > test.svg
wcp repository: https://github.com/jasonrohrer/wallClockProfiler
wallClockProfiler 500 ./attempt7_iter_cpp > out.txt
stackcollapse-wcp.pl out.txt | flamegraph.pl > wcp_500.svg