Add malloc logging.