perf_counter tools: Add and use isprint()