Get oprofile working more correctly.