Package: jemalloc Version: 2.2.5-1 Severity: wishlist hi,
it would be nice if there were a -dbg package for jemalloc, as this would aid in profiling programs linked with jemalloc. the attached patch should do it, though the -dbg package is a bit large compared to the shared library package (~800K vs ~70K on amd64). -- Robert Edmonds [email protected]
From 1fbe5e2b18284ae1157a344e11e1cf18008feba6 Mon Sep 17 00:00:00 2001 From: "Robert S. Edmonds" <[email protected]> Date: Tue, 13 Mar 2012 21:56:47 -0400 Subject: [PATCH] Create debug symbols package --- debian/control | 10 ++++++++++ debian/rules | 4 ++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/debian/control b/debian/control index 00fe646..f7b1a46 100644 --- a/debian/control +++ b/debian/control @@ -27,3 +27,13 @@ Description: general-purpose scalable concurrent malloc(3) implementation . Notable features are reduced lock contention, predictable low fragmentation, and introspection with heap profiling. + +Package: libjemalloc1-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libjemalloc1 (= ${binary:Version}), ${misc:Depends} +Description: debug symbols for jemalloc + Files used for debugging and profiling with jemalloc. + . + Debug symbols. diff --git a/debian/rules b/debian/rules index 0c58470..b249cb8 100755 --- a/debian/rules +++ b/debian/rules @@ -12,3 +12,7 @@ override_dh_auto_test: override_dh_auto_install: make install_include install_lib DESTDIR=$(CURDIR)/debian/tmp + +override_dh_strip: + dh_strip -p libjemalloc1 --dbg-package=libjemalloc1-dbg + dh_strip -a --remaining-packages -- 1.7.9.1
signature.asc
Description: Digital signature

