frsyuki/sigdump — pull request #2 by mrkn (2013-04-24 09:41:01+00:00)
Title: Add GC::Profiler support

This PR adds GC::Profiler support.
Using the following simple script, I confirmed this change is available on both ruby 1.9.3-p392 and 2.0.0-p0.

```ruby
require 'sigdump/setup'
GC::Profiler.enable
a = Thread.new {
100.times {
a = Array.new(10000){ 'aa' }
sleep 0.1
}
}
b = Thread.new {
100.times {
a = Array.new(10000){ 'aa' }
sleep 0.1
}
}
5.times do
Process.kill :CONT, Process.pid
sleep 0.5
end
a.join
b.join
```