def stream_subsegments(self):
        """
        Stream all closed subsegments to the daemon
        and remove reference to the parent segment.
        No-op for a not sampled segment.
        """
        segment = self.current_segment()

        if self.streaming.is_eligible(segment):
            self.streaming.stream(segment, self._stream_subsegment_out)
def stream_subsegments ( self ) : segment = self . current_segment ( ) if self . streaming . is_eligible ( segment ) : self . streaming . stream ( segment , self . _stream_subsegment_out )
Stream all closed subsegments to the daemon
        and remove reference to the parent segment.
        No-op for a not sampled segment.