perf, trace: Inline perf_swevent_put_recursion_context()