add poor man's profiler script and backtrace parser