You don't need those traces!
Josh looked at disassembling ruby recently.
It outputs code like:
0000 trace 1 ( 1)
0002 putobject_OP_INT2FIX_O_1_C_
0003 dup
0004 setlocal_OP__WC__0 2
0006 leave
The first instruction trace
tells ruby to emit a trace event (trace system detailed here).
The trace instructions may not be useful when examining disassembled code and as such you can compile the code without the trace instructions.
RubyVM::InstructionSequence.compile_option = {
trace_instruction: false
}
Tweet