3

When you use the "--gv" option in GPerfTool's pprof command, you get a very pretty graph. Yay.

Lines are either thick, thin, dashed or solid. I figure thick/thin is based on the number of sample entries that follow that line.

But I have neither figure out nor found documentation as to what the dashed line means. Am currently going thru the pprof CODE, but frankly that's a REALLY STUPID way to figure out what it means. Thus, in addition to answering what the dashed line means, can you please point out some document that gives a legend of the pprof gv format?

This one (http://goog-perftools.sourceforge.net/doc/cpu_profiler.html) must be out of date, as it has no mention of the dashed format...leading me to worry that it might be QUITE out of date.

Mark Gerolimatos
  • 2,424
  • 1
  • 23
  • 33

2 Answers2

2

From the code, it APPEARS that a dashed line means an inline function call. However, confirmation would be good.

DOCUMENTATION would be even better!

  if ($x[1] =~ m/\(inline\)/) {
    $style .= ",dashed";
  }

source

Tharif
  • 13,794
  • 9
  • 55
  • 77
Mark Gerolimatos
  • 2,424
  • 1
  • 23
  • 33
0

The target node of any dashed arc contains "(inline)".