[dpkg] 04/187: build: Add support for profiling perl modules

Reiner Herrmann reiner at reiner-h.de
Sun Nov 6 12:46:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

deki-guest pushed a commit to branch master
in repository dpkg.

commit cb0656f31ad55cac9175a2283394ba17316f6a5c
Author: Guillem Jover <guillem at debian.org>
Date:   Sun Aug 14 18:57:12 2016 +0200

    build: Add support for profiling perl modules
    
    This allows to pass things like PERL_PROFILE=-d:NYTProf so that we can
    generate profiling information.
---
 debian/changelog | 4 ++++
 run-script       | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c9c41e9..9d9ecf6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
 dpkg (1.18.11) UNRELEASED; urgency=medium
 
+  [ Guillem Jover ]
+  * Build system:
+    - Add support for profiling perl modules.
+
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
 
diff --git a/run-script b/run-script
index b3ab8dd..45ee7ef 100755
--- a/run-script
+++ b/run-script
@@ -16,4 +16,4 @@ export DPKG_DATADIR="$cwd"
 script="$1"
 shift 1
 
-exec $PERL "$cwd/$script" "$@"
+exec $PERL $PERL_PROFILE "$cwd/$script" "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list