| 1 |
Source: libdevel-leak-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]> |
| 4 |
Section: perl |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
perl-xs-dev, |
| 8 |
perl:native |
| 9 |
Standards-Version: 3.9.5 |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdevel-leak-perl |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdevel-leak-perl.git |
| 12 |
Homepage: https://metacpan.org/release/Devel-Leak |
| 13 |
Testsuite: autopkgtest-pkg-perl |
| 14 |
|
| 15 |
Package: libdevel-leak-perl |
| 16 |
Architecture: any |
| 17 |
Depends: ${perl:Depends}, |
| 18 |
${misc:Depends}, |
| 19 |
${shlibs:Depends} |
| 20 |
Description: utility for looking for perl objects that are not reclaimed |
| 21 |
Devel::Leak has two functions: NoteSV and CheckSV. |
| 22 |
. |
| 23 |
NoteSV walks the perl internal table of allocated SVs (scalar values) - (which |
| 24 |
actually contains arrays and hashes too), and records their addresses in a |
| 25 |
table. It returns a count of these "things", and stores a pointer to the |
| 26 |
table (which is obtained from the heap using malloc()) in its argument. |
| 27 |
. |
| 28 |
CheckSV is passed argument which holds a pointer to a table created by |
| 29 |
NoteSV. It re-walks the perl-internals and calls sv_dump() for any "things" |
| 30 |
which did not exist when NoteSV was called. It returns a count of the number |
| 31 |
of "things" now allocated. |