Devel::TraceCalls allows subroutine calls to be tracked on a per-subroutine, per-package, per-class, or per object instance basis. WWW: https://metacpan.org/release/Devel-TraceCalls