From: Julien Desfossez Date: Sat, 8 Mar 2014 15:48:07 +0000 (-0500) Subject: don't seek begin X-Git-Tag: v0.3~20 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=68446c240e11ed49d73227c8f3809f30b8838028;p=lttngtop.git don't seek begin Signed-off-by: Julien Desfossez --- diff --git a/src/lttng-live-comm.c b/src/lttng-live-comm.c index 0835132..ffa2912 100644 --- a/src/lttng-live-comm.c +++ b/src/lttng-live-comm.c @@ -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);