Skip to content

Commit

Permalink
ignore Class#new in profile output
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Oct 9, 2010
1 parent bf6dc2b commit 73c8e8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patches/perftools-pprof.patch
Expand Up @@ -30,13 +30,14 @@ index b5ef29a..25b956d 100755
# Remove uniniteresting stack items
$profile = RemoveUninterestingFrames($symbols, $profile);

@@ -1927,6 +1927,9 @@ sub RemoveUninterestingFrames {
@@ -1927,6 +1927,10 @@ sub RemoveUninterestingFrames {
'ProfileData::prof_handler', # historical
'CpuProfiler::prof_handler',
'__FRAME_END__',
+ 'PerfTools::CpuProfiler.start',
+ 'Array#each',
+ 'Proc#call',
+ 'Class#new',
'__pthread_sighandler',
'__restore') {
$skip{$name} = 1;
Expand Down

0 comments on commit 73c8e8b

Please sign in to comment.