diff --git a/MANIFEST b/MANIFEST index 3167e3fe..41d1b828 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2,7 +2,7 @@ .gitignore .indent.pro .perltidyrc -bin/flamegraph.pl +bin/nytflamegraph.pl bin/nytprofcalls bin/nytprofcg bin/nytprofcsv diff --git a/Makefile.PL b/Makefile.PL index 6ace18bb..31eaacca 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -115,7 +115,7 @@ if( $ExtUtils::MakeMaker::VERSION >= 6.46 ) { $mm_opts{META_MERGE} = { "meta-spec" => { version => 2 }, no_index => { - package => [ 'SVG' ], # in bin/flamegraph.pl + package => [ 'SVG' ], # in bin/nytflamegraph.pl }, resources => { license => 'http://dev.perl.org/licenses/', @@ -182,7 +182,7 @@ WriteMakefile( LIBS => [join ' ', @libs], OBJECT => q/$(O_FILES)/, FUNCLIST => ['boot_Devel__NYTProf', 'boot_Devel__NYTProf__FileHandle'], - EXE_FILES => ['bin/nytprofhtml', 'bin/flamegraph.pl', 'bin/nytprofcsv', 'bin/nytprofcalls', 'bin/nytprofcg', 'bin/nytprofmerge'], + EXE_FILES => ['bin/nytprofhtml', 'bin/nytflamegraph.pl', 'bin/nytprofcsv', 'bin/nytprofcalls', 'bin/nytprofcg', 'bin/nytprofmerge'], @man, INC => $INCLUDE, clean => { diff --git a/bin/flamegraph.pl b/bin/nytflamegraph.pl similarity index 100% rename from bin/flamegraph.pl rename to bin/nytflamegraph.pl diff --git a/bin/nytprofhtml b/bin/nytprofhtml index e757083d..d8296394 100755 --- a/bin/nytprofhtml +++ b/bin/nytprofhtml @@ -78,10 +78,10 @@ $nytprofcalls = which 'nytprofcalls' if not -e $nytprofcalls; die "Unable to find nytprofcalls in $Config{bin} or on the PATH" unless $nytprofcalls; -my $flamegraph = File::Spec->catfile($Config{'bin'}, 'flamegraph') . $script_ext; -$flamegraph = which "flamegraph$script_ext" if not -e $flamegraph; +my $flamegraph = File::Spec->catfile($Config{'bin'}, 'nytflamegraph') . $script_ext; +$flamegraph = which "nytflamegraph$script_ext" if not -e $flamegraph; -die "Unable to find flamegraph$script_ext in $Config{bin} or on the PATH" +die "Unable to find nytflamegraph$script_ext in $Config{bin} or on the PATH" unless $flamegraph; my @treemap_colors = (0,2,4,6,8,10,1,3,5,7,9);