add scripts to generate flame graph