flamegraph-rs / flamegraph

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
Apache License 2.0
4.59k stars 142 forks source link

graph diffs from perl flamegraph #328

Open Orca-bit opened 2 months ago

Orca-bit commented 2 months ago

I use the same perf.data

  1. when using perl flamegraph, the total samples shows 295730188910
  2. when using rs flamegraph, the total samples shows 36277
  3. when using perf report, it shows Samples: 36K of event cycles, Event count: 295730188910

that makes graphes look diff results with perl flamegraph is more closely match the percentages shown in perf report

djc commented 2 months ago

You might want to take this up with inferno -- flamegraph is a fairly thin wrapper over perf + inferno.