From: Mathieu Desnoyers Date: Thu, 12 Jul 2012 17:27:19 +0000 (-0400) Subject: Remove filter test printouts X-Git-Tag: v2.1.0-rc1~47 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=a8c27c7c81689fc7958fc248a2184482d80773c6;p=lttng-ust.git Remove filter test printouts Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-filter.c b/liblttng-ust/lttng-filter.c index 37e1cf56..69f8cba5 100644 --- a/liblttng-ust/lttng-filter.c +++ b/liblttng-ust/lttng-filter.c @@ -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) { diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 70dad767..cca5dcf8 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -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,