don't seek begin
authorJulien Desfossez <jdesfossez@efficios.com>
Sat, 8 Mar 2014 15:48:07 +0000 (10:48 -0500)
committerJulien Desfossez <jdesfossez@efficios.com>
Sat, 8 Mar 2014 15:48:07 +0000 (10:48 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/lttng-live-comm.c

index 08351320d52678e594e76a0d13ead5b6263f075d..ffa2912334c95920183978cd9f3bdd148f35506c 100644 (file)
@@ -367,8 +367,8 @@ int lttng_live_attach_session(struct lttng_live_ctx *ctx, uint64_t id)
        memset(&rq, 0, sizeof(rq));
        rq.session_id = htobe64(id);
        // TODO: add cmd line parameter to select seek beginning
-       rq.seek = htobe32(LTTNG_VIEWER_SEEK_BEGINNING);
-       //rq.seek = htobe32(LTTNG_VIEWER_SEEK_LAST);
+       //rq.seek = htobe32(LTTNG_VIEWER_SEEK_BEGINNING);
+       rq.seek = htobe32(LTTNG_VIEWER_SEEK_LAST);
 
        do {
                ret_len = send(ctx->control_sock, &cmd, sizeof(cmd), 0);
This page took 0.03274 seconds and 4 git commands to generate.