Meanwhile, it's pretty easy to create your own flame graph using "grep -v"
on the calls file to filter out packages you're not interested in.

It's basically

    grep -v "Class::MOP" nytprof/all_stacks_by_time.calls | flamegraph.pl > 
test.svg

(though see nytprofhtml for details of extra args to scale values etc)

Tim.

On Fri, May 17, 2013 at 12:06:32AM -0700, N Heinrichs wrote:
>    Quite an old topic, but one use case would be to prevent 
> Catalyst/Moose/Class::MOP/etc. from cluttering
>    flame graphs, "top 15 subs", etc.
>    I s'pose it's a modification to nytprofhtml as opposed to the actual 
> profiler.
> 
>    On Friday, April 15, 2011 5:59:00 PM UTC+9, Tim.Bunce wrote:
> 
>      On Mon, Feb 07, 2011 at 05:44:31PM -0800, jguluarte wrote:
>      > Hello,
>      >
>      > I've looked through the documentation, and it seems that this package
>      > is based on a few others.  One of those is Devel::Profiler, and it has
>      > a "bad_pkgs" that you can include that will cause it to ignore an
>      > $array_ref list of packages from the profile output.  I haven't seen
>      > any way to invoke this through the current options, and wanted to see
>      > if somebody else has already implemented in their own code or if it is
>      > planned in a new release - or if it would be better to "hack" it in
>      > myself.
> 
>      It's not implemented. Why do you think this feature would be useful?
> 
>      Tim.
> 
>    --
>    --
>    You've received this message because you are subscribed to
>    the Devel::NYTProf Development User group.
> 
>    Group hosted at: [1]http://groups.google.com/group/develnytprof-dev
>    Project hosted at: [2]http://perl-devel-nytprof.googlecode.com
>    CPAN distribution: [3]http://search.cpan.org/dist/Devel-NYTProf
> 
>    To post, email: [email protected]
>    To unsubscribe, email: [email protected]
>    ---
>    You received this message because you are subscribed to the Google Groups 
> "Devel::NYTProf Dev" group.
>    To unsubscribe from this group and stop receiving emails from it, send an 
> email to
>    [email protected].
>    For more options, visit [4]https://groups.google.com/groups/opt_out.
> 
> 
> 
> References
> 
>    Visible links
>    1. http://groups.google.com/group/develnytprof-dev
>    2. http://perl-devel-nytprof.googlecode.com/
>    3. http://search.cpan.org/dist/Devel-NYTProf
>    4. https://groups.google.com/groups/opt_out

-- 
-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"Devel::NYTProf Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to