File: flamegraph.patch

package info (click to toggle)
libdevel-nytprof-perl 6.04%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,552 kB
  • ctags: 1,540
  • sloc: perl: 5,590; ansic: 107; makefile: 21
file content (18 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: we're installing flamegraph.pl under /usr/share
 so call it from there
Origin: vendor
Bug-Debian: https://bugs.debian.org/718731
Forwarded: https://github.com/timbunce/devel-nytprof/issues/13
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-06-08

--- a/bin/nytprofhtml
+++ b/bin/nytprofhtml
@@ -80,6 +80,7 @@
 
 my $flamegraph   = File::Spec->catfile($Config{'bin'}, 'flamegraph') . $script_ext;
 $flamegraph      = which "flamegraph$script_ext" if not -e $flamegraph;
+$flamegraph      = '/usr/share/perl5/Devel/NYTProf/flamegraph.pl';
 
 die "Unable to find flamegraph$script_ext in $Config{bin} or on the PATH"
     unless $flamegraph;