Skip to content

Commit

Permalink
comments for comma to semicolon change
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Gregg committed Jun 15, 2012
1 parent fc4a545 commit e51f401
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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
[...]


Expand Down
4 changes: 2 additions & 2 deletions flamegraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions stackcollapse-perf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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:
#
Expand Down
4 changes: 2 additions & 2 deletions stackcollapse-stap.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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.
#
Expand Down
4 changes: 2 additions & 2 deletions stackcollapse.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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).
Expand Down

0 comments on commit e51f401

Please sign in to comment.