Remove filter test printouts
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Jul 2012 17:27:19 +0000 (13:27 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Jul 2012 17:27:19 +0000 (13:27 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-filter.c
liblttng-ust/lttng-ust-comm.c

index 37e1cf56fd40edb2546790ac8166553cdeaa312e..69f8cba5aa0cf7daac44c489a8b9bf2325df60cb 100644 (file)
@@ -649,7 +649,7 @@ int apply_field_reloc(struct ltt_event *event,
        struct field_ref *field_ref;
        uint32_t field_offset = 0;
 
-       fprintf(stderr, "Apply reloc: %u %s\n", reloc_offset, field_name);
+       dbg_printf("Apply reloc: %u %s\n", reloc_offset, field_name);
 
        /* Ensure that the reloc is within the code */
        if (runtime_len - reloc_offset < sizeof(uint16_t))
@@ -741,7 +741,7 @@ int _lttng_filter_event_link_bytecode(struct ltt_event *event,
        if (event->filter || event->filter_data)
                return 0;
 
-       fprintf(stderr, "Linking\n");
+       dbg_printf("Linking\n");
 
        /* We don't need the reloc table in the runtime */
        runtime_alloc_len = sizeof(*runtime) + filter_bytecode->reloc_offset;
@@ -757,7 +757,6 @@ int _lttng_filter_event_link_bytecode(struct ltt_event *event,
         * apply relocs. Those are a uint16_t (offset in bytecode)
         * followed by a string (field name).
         */
-       fprintf(stderr, "iter for %d %d\n", filter_bytecode->reloc_offset, filter_bytecode->len);
        for (offset = filter_bytecode->reloc_offset;
                        offset < filter_bytecode->len;
                        offset = next_offset) {
index 70dad7674a754e84bc636b1e3492c8548cbf3144..cca5dcf83716d9ce0e854305185689290b3e72aa 100644 (file)
@@ -328,9 +328,6 @@ int handle_message(struct sock_info *sock_info,
                }
                bytecode->len = lum->u.filter.data_size;
                bytecode->reloc_offset = lum->u.filter.reloc_offset;
-               fprintf(stderr, "RECV len %d rel %d\n",
-                       lum->u.filter.data_size,
-                       lum->u.filter.reloc_offset);
                if (ops->cmd) {
                        ret = ops->cmd(lum->handle, lum->cmd,
                                        (unsigned long) bytecode,
This page took 0.029765 seconds and 4 git commands to generate.