libdevel-leak-perl 0.03-ok1 source package in openKylin
Changelog
libdevel-leak-perl (0.03-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
libdevel-leak-perl (0.03-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libdevel-leak-perl_0.03.orig.tar.gz | 3.2 KiB | 6f42c34f11e2b4e3ea2e0e6b9416a88a685add447910caf4d91dd2c178177252 |
libdevel-leak-perl_0.03-ok1.debian.tar.xz | 2.1 KiB | d550db10c08f43f0cfc9e7a3335e6d1ff2efa9bfb4d39d9d8def2fc59995e13d |
libdevel-leak-perl_0.03-ok1.dsc | 1.9 KiB | 91bd5132b0edb69896c4b19deb605a6d0c64ebd69d4e599c5db8f62f7e2129a4 |
Devel::Leak has two functions: NoteSV and CheckSV.
.
NoteSV walks the perl internal table of allocated SVs (scalar values) - (which
actually contains arrays and hashes too), and records their addresses in a
table. It returns a count of these "things", and stores a pointer to the
table (which is obtained from the heap using malloc()) in its argument.
.
CheckSV is passed argument which holds a pointer to a table created by
NoteSV. It re-walks the perl-internals and calls sv_dump() for any "things"
which did not exist when NoteSV was called. It returns a count of the number
of "things" now allocated.