[lttng-dev] [RFC lttng-tools] Snapshot

David Goulet dgoulet at efficios.com
Thu Apr 11 12:14:34 EDT 2013

Julien Desfossez:
> Hi,
>> Hi everyone,
>> This is the initial RFC for snapshot in lttng-tools. Once accepted, it
>> will be available in "doc/proposals/0006-lttng-snapshot.txt".
>> Any questions, comments or fixes are VERY welcome. There are probably
>> English mistakes so feel free to point it out to me.
> It looks good, just a few comments :
> For the add-output command, I think we discussed adding the --max-size
> parameter as well to limit the size of the snapshots written to this output.

Yup I forgot to add it.

> For the "lttng snapshot record", I think the options should allow to
> specify -C/-D also since we can specify an URL.


> "This is a blocking call meaning that it will return only if the
> snapshot is completed" --> "only when the snapshot is completed or an
> error is returned"


> "For now, no-wait is not supported by we keep" --> "but we"


> Since it will block the caller, should we add a timeout parameter to
> lttng_snapshot_record ?

That would probably be a timer on the session daemon side and the health
check would be the thing to use to monitor if the session daemon is stuck.

On the client side, the problem is that we have NO way of knowing what
will be the duration of the operation

I'll send the second version soon with jgalar fixes.


> Thanks,
> Julien

More information about the lttng-dev mailing list