Patch "perf tools: Fix copyfile_offset update of output offset" has been added to the 4.15-stable tree