Generate cachegrind file if erlgrind is available