flamegraph

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

commit 54b5f974925f9677356bbd59bcee431aa8e0581a
parent 640143c45908f33d47477e8a36c4df800717ef82
Author: Brendan Gregg <brendan.d.gregg@gmail.com>
Date:   Sun,  5 Feb 2017 16:21:27 -0800

files.pl: skip undefined size, as with /dev files

Diffstat:
Mfiles.pl | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/files.pl b/files.pl @@ -32,6 +32,7 @@ find(\&wanted, $dir); sub wanted { my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size) = stat($_); + return unless defined $size; my $path = $File::Find::name; $path =~ tr/\//;/; # delimiter $path =~ tr/;.a-zA-Z0-9-/_/c; # ditch whitespace and other chars