patch for xhprof - refs BT#7683 1