[for-linus][PATCH 07/17] sample-trace-array: Fix sleeping function called from invalid context