[PATCH openEuler-5.10-LTS 076/168] tracing: Fix sleeping function called from invalid context on RT kernel