Hi Michael,
No, running relay daemon as root, and from a remote machine,
is supported by the LTTng live protocol.
However, the prototype implementation of live support in Trace
Compass seems to bypass this protocol, and directly use the
file system.
We were not made aware that this effort was anything more than
a prototype branch. It's surprising that it got into Trace Compass
mainline as is.
You may have issues with file synchronization on disk, because
there is no guarantee that the data is flushed to disk by lttng-relayd
before trace compass try to read it. This can lead to spuriously
corrupted traces.
Launching relayd on the same machine/same user as trace compass
seems to be a work-around needed because the Trace Compass
live read implementation does not respect the lttng live protocol.
Thanks,
Mathieu
----- On Mar 24, 2016, at 1:58 PM, Michael Steppe <msteppe91@xxxxxxxxx> wrote:
So I ran lttng-relayd as user from the command line, then opened Trace Compass as user and was able to view the live traces! Is this the recommended path forward? To start relayd as user?
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com