Is that really necessary? Isn't "intel_gpu_tool > logfile" enough?