Re: [lttng-dev] LTTng Time Stamp Issue

2018-04-20 Thread Jérémie Galarneau
Hi, I'm adding the LTTng mailing list in CC for the benefit of the community and so people add to or correct my explanation. The CTF specification describes the meaning of those fields: http://diamon.org/ctf/#spec8 In your case, this means that the timestamps in the trace are expressed relative

Re: [lttng-dev] Notification event from lttng-relayd on trace rotation completion?

2018-04-20 Thread Jérémie Galarneau
On 10 April 2018 at 10:56, Christoffer Ahlbin wrote: > What is the recommended approach to have an external process notified > that a trace session rotation has completed on the lttng-relayd end? > > I'm trying out the trace rotation functionality available in 2.11 > (pre-release) and will be run

Re: [lttng-dev] LTTng Time Stamp Issue

2018-04-20 Thread Mohamad Gebai
LTTng uses the monotonic clock [1] to timestamp the event at trace-time. The monotonic clock is more appropriate than the real time (CLOCK_REALTIME) when you want to timestamp/compare/order certain events within the same system relatively to each other. Using the real time clock would cause a probl