Hi all,
I would like to introduce a recently open-sourced function tracing tool, called uftrace for V8 project development.
The uftrace tool is to trace and analyze execution of a program written in C/C++. It was heavily inspired by the ftrace framework of the Linux kernel (especially function graph tracer) and supports userspace programs. It supports various kind of commands and filters to help analysis of the program execution and performance.
This tool is developed by my colleague, Namhyung Kim and I have been used it to analyze V8 code base and also helped him to improve the tool. I presented this tool in CppCon 2016 in both poster session and lightning talk as well. So you can see my talk from the youtube link below: (it's just 6 mins)
I also added a feature to see the result in chrome trace viewer. Some execution traces are uploaded in the below links:
If you open those links in chrome browsers, you can easily see the shape of workloads for each benchmark.
I've just uploaded a patch because uftrace requires target binaries to be compiled with -finstrument-functions or -pg option.
I hope this tool is useful to V8 developers!
Thanks,
Honggyu