Applied patch from Srinivas Vutukuri to have tx_samples accept -g