]> git.lttng.org Git - lttng-ust.git/commitdiff
filter: add seqnum field to filter command
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Nov 2012 21:14:20 +0000 (16:14 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Nov 2012 18:55:54 +0000 (13:55 -0500)
Reviewed-by: David Goulet <dgoulet@efficios.com>
Reviewed-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-abi.h
include/ust-comm.h
liblttng-ust/lttng-ust-comm.c

index 6fa9a94db0472154679bcc1af5ab9d0630d5a1db..1ae1fa7dffa1e01cec7760296c0d37d75df30df3 100644 (file)
@@ -176,6 +176,7 @@ struct lttng_ust_calibrate {
 struct lttng_ust_filter_bytecode {
        uint32_t len;
        uint32_t reloc_offset;
+       uint64_t seqnum;
        char data[0];
 };
 
index 014b5ede45b2441e80c7223b5a3cfb87470d00fb..b9c4cebe5bb9344600099f79902856d976e5111d 100644 (file)
@@ -70,6 +70,7 @@ struct ustcomm_ust_msg {
                struct {
                        uint32_t data_size;     /* following filter data */
                        uint32_t reloc_offset;
+                       uint64_t seqnum;
                } filter;
        } u;
 };
index ef8b6fedcf7b045d197223fdcea1056a530d59a0..58461462698b3758b48100558f811b28cd4a1787 100644 (file)
@@ -339,6 +339,7 @@ int handle_message(struct sock_info *sock_info,
                }
                bytecode->bc.len = lum->u.filter.data_size;
                bytecode->bc.reloc_offset = lum->u.filter.reloc_offset;
+               bytecode->bc.seqnum = lum->u.filter.seqnum;
                if (ops->cmd) {
                        ret = ops->cmd(lum->handle, lum->cmd,
                                        (unsigned long) bytecode,
This page took 0.030034 seconds and 4 git commands to generate.