The CMS is running on our apache. This perl-based webserver they provide is only used for debugging and not more. I can assure this 100%.
It's hard to put all information in a question. I could post the apache configurations if that could help. Basically for this CMS you have to install a webserver (in our case apache) and mod_perl. That's it. In the configuration, setup sources where perl should look for Packages and you're ready o go. That's why I tried to simplify the question as much as possible.
Basically I just want to use NYTProf on a webserver and profile everything, even if it runs "inside" mode_perl.

Update: The CMS is called "Imperia". To run the CMS you have to extract the CMS itself and add

PerlOptions +Parent PerlModule Apache2::RequestRec PerlModule Apache2::compat <Perl> unshift @INC, '/mycms/develop/site/modules/core'; unshift @INC, '/mycms/develop/site/modules/collection'; unshift @INC, '/mycms/develop/site/modules/fallback'; </Perl> <Location ~ "/imp($|/)"> SetHandler modperl PerlResponseHandler Imperia::Core::Backends::ModPerl20 </Location>
to your webserver configuration. To get NYTProf running I added
PerlSetEnv NYTPROF file=/mycms/nyt/prof.out <Perl> use Devel::NYTProf::Apache; </Perl>
as well.

So I don't think the issue is related to the CMS. It's more like a general issue that I don't get subroutines and stuff profiled which is using mod_perl. That's why I tried to simplify the question.


In reply to Re^2: Devel::NYTProf::Apache does not profile our CMS by feumw
in thread Devel::NYTProf::Apache does not profile our CMS by feumw

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.