diff options
author | gregor herrmann <gregoa@debian.org> | 2023-10-27 02:13:13 +0200 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2023-10-27 02:13:13 +0200 |
commit | 2dfab097d62f190160d11843eed0d656940f4bab (patch) | |
tree | eb12c8f2395cceef9b4ac21dbf6941ac9dd774e5 | |
parent | 4b0a7320d2be63d912788a2efbed1d1cc7546452 (diff) |
we're installing flamegraph.pl under /usr/share
Origin: vendor
Bug-Debian: https://bugs.debian.org/718731
Forwarded: https://github.com/timbunce/devel-nytprof/issues/13
Last-Update: 2015-06-08
so call it from there
Gbp-Pq: Name flamegraph.patch
-rwxr-xr-x | bin/nytprofhtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/nytprofhtml b/bin/nytprofhtml index 3d4e377..2ebf4db 100755 --- a/bin/nytprofhtml +++ b/bin/nytprofhtml @@ -80,6 +80,7 @@ die "Unable to find nytprofcalls in $Config{bin} or on the PATH" 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; |