Patch "perf/core: Fix error handling in perf_event_alloc()" has been added to the 4.9-stable tree