[PATCH 5.19 150/717] tracing: Move duplicate code of trace_kprobe/eprobe.c into header