def _register(self): cmd = lttngust.cmd._ClientRegisterCmd(_PROTO_DOMAIN, os.getpid(), _PROTO_MAJOR, _PROTO_MINOR) data = cmd.get_data() self._sessiond_sock.sendall(data)