mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/probeprofiler/probeprofiler.c: fix function name and
return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5bda3debcf
commit
ec4a7ccf86
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 25 14:10:47 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* ext/probeprofiler/probeprofiler.c: fix function name and
|
||||
return value.
|
||||
|
||||
Wed Apr 25 12:42:40 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* yarvcore.h: remove rb_control_frame_t#callee_id.
|
||||
|
|
|
@ -18,14 +18,14 @@ pprof_hook(rb_event_flag_t flag, VALUE data,
|
|||
VALUE dmyid, VALUE dmyklass)
|
||||
{
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
VALUE sig = rb_thread_current_sig(th);
|
||||
VALUE sig = rb_thread_current_status(th);
|
||||
hash_inc(data, sig);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
pprof_data(VALUE mod)
|
||||
{
|
||||
rb_const_get_at(mod, rb_intern("#pprof_data"));
|
||||
return rb_const_get_at(mod, rb_intern("#pprof_data"));
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue