flamegraph

Fork of flamegraph without J***S*****.
git clone git://git.laack.co/flamegraph.git
Log | Files | Refs | README

commit e51f401f171f7de3eb7d8642ade4d29ee985a496
parent fc4a54568ad0873672b39bc0d9a7a739cc3d6995
Author: Brendan Gregg <brendan.gregg@joyent.com>
Date:   Fri, 15 Jun 2012 13:10:04 -0700

comments for comma to semicolon change

Diffstat:
MREADME | 14+++++++-------
Mflamegraph.pl | 4++--
Mstackcollapse-perf.pl | 4++--
Mstackcollapse-stap.pl | 4++--
Mstackcollapse.pl | 4++--
5 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/README b/README @@ -43,13 +43,13 @@ $ ./stackcollapse.pl out.kern_stacks > out.kern_folded The output looks like this: unix`_sys_sysenter_post_swapgs 1401 -unix`_sys_sysenter_post_swapgs,genunix`close 5 -unix`_sys_sysenter_post_swapgs,genunix`close,genunix`closeandsetf 85 -unix`_sys_sysenter_post_swapgs,genunix`close,genunix`closeandsetf,c2audit`audit_closef 26 -unix`_sys_sysenter_post_swapgs,genunix`close,genunix`closeandsetf,c2audit`audit_setf 5 -unix`_sys_sysenter_post_swapgs,genunix`close,genunix`closeandsetf,genunix`audit_getstate 6 -unix`_sys_sysenter_post_swapgs,genunix`close,genunix`closeandsetf,genunix`audit_unfalloc 2 -unix`_sys_sysenter_post_swapgs,genunix`close,genunix`closeandsetf,genunix`closef 48 +unix`_sys_sysenter_post_swapgs;genunix`close 5 +unix`_sys_sysenter_post_swapgs;genunix`close;genunix`closeandsetf 85 +unix`_sys_sysenter_post_swapgs;genunix`close;genunix`closeandsetf;c2audit`audit_closef 26 +unix`_sys_sysenter_post_swapgs;genunix`close;genunix`closeandsetf;c2audit`audit_setf 5 +unix`_sys_sysenter_post_swapgs;genunix`close;genunix`closeandsetf;genunix`audit_getstate 6 +unix`_sys_sysenter_post_swapgs;genunix`close;genunix`closeandsetf;genunix`audit_unfalloc 2 +unix`_sys_sysenter_post_swapgs;genunix`close;genunix`closeandsetf;genunix`closef 48 [...] diff --git a/flamegraph.pl b/flamegraph.pl @@ -10,8 +10,8 @@ # grep funcA input.txt | ./flamegraph.pl > graph.svg # # The input is stack frames and sample counts formatted as single lines. Each -# frame in the stack is comma separated, with a space and count at the end of -# the line. These can be generated using DTrace with stackcollapse.pl. +# frame in the stack is semicolon separated, with a space and count at the end +# of the line. These can be generated using DTrace with stackcollapse.pl. # # The output graph shows relative presense of functions in stack samples. The # ordering on the x-axis has no meaning; since the data is samples, time order diff --git a/stackcollapse-perf.pl b/stackcollapse-perf.pl @@ -3,7 +3,7 @@ # stackcolllapse-perf.pl collapse perf samples into single lines. # # Parses a list of multiline stacks generated by "perf script", and -# outputs a comma separated stack followed by a space and a count. +# outputs a semicolon separated stack followed by a space and a count. # If memory addresses (+0xd) are present, they are stripped, and resulting # identical stacks are colased with their counts summed. # @@ -21,7 +21,7 @@ # # Example output: # -# start_kernel,rest_init,cpu_idle,default_idle,native_safe_halt 1 +# start_kernel;rest_init;cpu_idle;default_idle;native_safe_halt 1 # # Input may be created and processed using: # diff --git a/stackcollapse-stap.pl b/stackcollapse-stap.pl @@ -4,7 +4,7 @@ # into single lines. # # Parses a multiline stack followed by a number on a separate line, and -# outputs a comma separated stack followed by a space and the number. +# outputs a semicolon separated stack followed by a space and the number. # If memory addresses (+0xd) are present, they are stripped, and resulting # identical stacks are colased with their counts summed. # @@ -21,7 +21,7 @@ # # Example output: # -# start_kernel,rest_init,cpu_idle,default_idle,native_safe_halt 2404 +# start_kernel;rest_init;cpu_idle;default_idle;native_safe_halt 2404 # # Input may contain many stacks as generated from SystemTap. # diff --git a/stackcollapse.pl b/stackcollapse.pl @@ -3,7 +3,7 @@ # stackcolllapse.pl collapse multiline stacks into single lines. # # Parses a multiline stack followed by a number on a separate line, and -# outputs a comma separated stack followed by a space and the number. +# outputs a semicolon separated stack followed by a space and the number. # If memory addresses (+0xd) are present, they are stripped, and resulting # identical stacks are colased with their counts summed. # @@ -19,7 +19,7 @@ # # Example output: # -# unix`thread_start,unix`idle,unix`cpu_idle_mwait,unix`i86_mwait 1641 +# unix`thread_start;unix`idle;unix`cpu_idle_mwait;unix`i86_mwait 1641 # # Input may contain many stacks, and can be generated using DTrace. The # first few lines of input are skipped (see $headerlines).