X

Misaligned loads in 64-bit apps

Guest Author

A while back I wrote up how to use dtrace to identify misaligned loads in 32-bit apps. Here's a script to do the same for 64-bit apps:

#!/usr/sbin/dtrace -s
pid$1::__do_misaligned_ldst_instr:entry
{
@p[ustack()]=count();
}

Run it as './script '

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.