amzn / hawktracer

HawkTracer is a highly portable, low-overhead, configurable profiling tool built in Amazon Video for getting performance metrics from low-end devices.
MIT License
133 stars 31 forks source link

Implemented callgrind converter #23

Closed mapaaa closed 6 years ago

mapaaa commented 6 years ago

Issue #, if available:

Description of changes: Converter base class is getting an event's label. Callgrind Converter firstly stores all the events and then starts the actual conversion to callgrind format. It keeps for each thread the roots of all traced calls and it builds the call graph. I'll add tests for this in a different PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.