From: David Goulet Date: Sun, 28 Aug 2011 21:29:40 +0000 (-0400) Subject: Update and fix UST register and session creation X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;ds=inline;h=0177d773712c6d6b11e395708ae2cc686d6917a4;hp=0177d773712c6d6b11e395708ae2cc686d6917a4;p=lttng-tools.git Update and fix UST register and session creation The handling of the apps command pollfd, in the registration thread and the update function, was incorrect. The update process, when unregistring, was overwritting connected socket thus not being able to monitor them with poll(). This is the first step forward to fully support LTTng UST tracer. Add create UST session to ustctl and the session daemon. At this commit, this feature is not used yet. Move the register done command to ustctl. Adds the ustcomm_send_command which returns the reply structure from the UST application. The ustctl and ustcomm are cleaned up. Signed-off-by: David Goulet ---