Probe for sampling gaseous compounds