perf tools: Add clockid_name function