UST 2.0 support Refactoring of the consumer/sessiond interaction so the consumer supports applications instrumented with libust (UST 2.0). At this point, more testing of interaction between libust and sessiond is required. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Callbacks on receive and update FD The user of the lib can now take control over a new FD or the update operation of an existing FD. Opening the output tracefile is now the responsiblity of the user and not the library itself. [ Edit by Mathieu Desnoyers: comment and teardown cleanups ] Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Function to handle snapshots in liblttngkconsumerd This patch adds the wrappers to take a snapshot for a specific FD and to retrieve the produced position. Also refactor the sync tracefile operation. Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Rename and export lib kernel consumer The old liblttkconsumerd is renamed to liblttngkconsumerd and exported publicly having the public header "lttng/lttng-kconsumerd.h". To link with this library, use -llttngkconsumerd. Every public functions now begins with the "lttng_" prefix to fit the lttng public namespace. Comments are changed also to fit 80 lines standard and the rest of the git tree comments. This complete renaming was motivated by the new tool made by Julien Desfossez called 'lttngtop' which uses the kernel consumer library to create a custom consumer. More works will add consumers in the lttv and babeltrace projects. Please see lttng.org to learn about lttngtop. Signed-off-by: David Goulet <david.goulet@polymtl.ca>