perf tools: Replace %m with %a in sscanf