smp_text_poke_batch_add
extern void smp_text_poke_batch_add(void *addr, const void *opcode, size_t len, const void *emulate);
smp_text_poke_batch_add(addr, opcode, len, emulate);
smp_text_poke_batch_add((void *)ip, new_code, MCOUNT_INSN_SIZE, NULL);
smp_text_poke_batch_add((void *)rec->ip, new, MCOUNT_INSN_SIZE, NULL);
smp_text_poke_batch_add((void *)jump_entry_code(entry), jlp.code, jlp.size, NULL);