'How to generate flames call graph?

I'm working on windows and I've been trying to find out ways to generate flames call graph of my c/c++ application but no luck. I've extracted the function details (names, timing info, which function calls which function) and now I want to know in format the information is required to generate flames graph. I've been googling about it but no luck. I do have got some links regarding how to capture stack and fold stack and then flamegraph.pl but all the mentioned info wasn't much useful to me. So can you all help me with how can I generate the call graph with the information I have?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source