fxprof-perf-convert
A converter from the Linux perf perf.data
format into the Firefox Profiler format, specifically into the processed profile format.
Here's an example profile of Firefox. And here's a profile of the conversion process of that example. Both of these profiles were obtained by running perf record --call-graph dwarf
and then converting the perf.data file.
Run
% cargo run --release -- perf.data
This creates a file called profile-conv.json
.
Then open the profile in the Firefox profiler:
% profiler-symbol-server profile-conv.json # Install with `cargo install profiler-symbol-server`