oprofile: add inline function __oprofile_add_ext_sample()