summaryrefslogtreecommitdiff
path: root/probes.d
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-11 19:17:25 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-11 19:17:25 +0000
commit975e3a19a7ef725f6358d74f5bf7fd20d4403587 (patch)
tree22303ef0f4a2fc40fec963f9ffe68f244211fd15 /probes.d
parent9e9498c227085d8b999799843aa2d388b19653a6 (diff)
do not disable `trace_` prefix insns.
* vm.c: introduce `ruby_vm_event_enabled_flags` which represents which event flags are enabled before. * vm_trace.c: do not turn off `trace_` prefix instructions because turn on overhead is a matter if a program repeats turn on and turn off frequently. * iseq.c (finish_iseq_build): respect `ruby_vm_event_enabled_flags`. * vm_insnhelper.c (vm_trace): check `ruby_vm_event_flags` and disable lazy trace-off technique (do not disable traces). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'probes.d')
0 files changed, 0 insertions, 0 deletions