[PATCH 5.16 0968/1017] tracing: Have type enum modifications copy the strings