[PATCH] perf tools: Fix printable strings in python3 scripts