ext/stackprof.c in stackprof-0.2.6 vs ext/stackprof.c in stackprof-0.2.7
- old
+ new
@@ -90,10 +90,10 @@
}
if (mode == sym_object) {
if (!RTEST(interval)) interval = INT2FIX(1);
- objtracer = rb_tracepoint_new(0, RUBY_INTERNAL_EVENT_NEWOBJ, stackprof_newobj_handler, 0);
+ objtracer = rb_tracepoint_new(Qnil, RUBY_INTERNAL_EVENT_NEWOBJ, stackprof_newobj_handler, 0);
rb_tracepoint_enable(objtracer);
} else if (mode == sym_wall || mode == sym_cpu) {
if (!RTEST(interval)) interval = INT2FIX(1000);
sa.sa_sigaction = stackprof_signal_handler;