salva has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to profile an XS module on a Linux box.
I have recompiled perl 5.8.8 adding -pg to optimize, ldflags and lddlflags on config.sh and also recompiled my module with this new perl.
Now when I run a test script the gmon.out file is generated, but it only contains information about the perl internals, nothing about the functions on the dynamically loaded XS modules.
Do I need to do anything else?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: profiling an XS module
by rg0now (Chaplain) on May 31, 2007 at 11:52 UTC | |
by salva (Canon) on Jun 04, 2007 at 17:28 UTC | |
by Joost (Canon) on Jun 04, 2007 at 19:21 UTC |