Can I see ruby-prof code? Are there any reason that we can not modify ruby-prof code? (2012/11/09 2:38), Roger Pack wrote: > Hello. > > Ruby 2.0 is all about "non breaking backward compatibility" right? <wink > wink>. > Anyway, I used to use this code in the ruby-prof gem to see a method is > the allocator: > > if (method_id == ID_ALLOCATOR) > result = rb_str_new2("allocate"); > > > This fails to compile with 2.0 however: > > |rp_method.c:101: error: ?ID_ALLOCATOR? undeclared (first use in this function) > | > > Any help/work arounds available? > > |Thanks.| > > |-r| > -- // SASADA Koichi at atdot dot net