flamegraph

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

commit 640143c45908f33d47477e8a36c4df800717ef82
parent a30ac044e2fbbaf9ad82480ae895b9580061cc45
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Sun,  5 Feb 2017 13:17:08 -0800

files.pl: allow dash

Diffstat:
Mfiles.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files.pl b/files.pl @@ -34,7 +34,7 @@ sub wanted { my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size) = stat($_); my $path = $File::Find::name; $path =~ tr/\//;/; # delimiter - $path =~ tr/;.a-zA-Z0-9/_/c; # ditch whitespace and other chars + $path =~ tr/;.a-zA-Z0-9-/_/c; # ditch whitespace and other chars $path =~ s/^;//; print "$path $size\n"; }