Output fix in perf_histogram