commit 6c8cd6a7966f914fac36ec3ce24eb23129a97d3f
parent 465ac0c46db04cba413ae593d473181d694ea681
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date: Tue, 28 Oct 2014 17:14:08 -0700
comment flame graph differentials
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/flamegraph.pl b/flamegraph.pl
@@ -17,6 +17,11 @@
# of the line. These can be generated using DTrace with stackcollapse.pl,
# and other tools using the stackcollapse variants.
#
+# An optional extra column of counts can be provided to generate a differential
+# flame graph of the counts, colored red for more, and green for less. This
+# can be useful when using flame graphs for non-regression testing.
+# See the header comment in the difffolded.pl program for instructions.
+#
# The output graph shows relative presence of functions in stack samples. The
# ordering on the x-axis has no meaning; since the data is samples, time order
# of events is not known. The order used sorts function names alphabetically.
@@ -26,7 +31,8 @@
# can use --title to set the title to reflect the content, and --countname
# to change "samples" to "bytes" etc.
#
-# There are a few different palettes, selectable using --color. Functions
+# There are a few different palettes, selectable using --color. By default,
+# the colors are selected at random (except for differentials). Functions
# called "-" will be printed gray, which can be used for stack separators (eg,
# between user and kernel stacks).
#