From: Mathieu Desnoyers Date: Mon, 11 Jul 2011 21:34:05 +0000 (-0400) Subject: rculfhash: print resize length (useful as non-debug for now) X-Git-Tag: v0.7.0~43^2~197 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=df03fab8d93f4778ff06cad3e6aef2a61c65170c;p=urcu.git rculfhash: print resize length (useful as non-debug for now) Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 6941ec1..7605036 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -736,8 +736,8 @@ void _do_ht_resize(struct rcu_ht *ht) if (old_size == new_size) return; new_order = get_count_order_ulong(new_size) + 1; - dbg_printf("rculfhash: resize from %lu (order %lu) to %lu (order %lu) buckets\n", - old_size, old_order, new_size, new_order); + printf("rculfhash: resize from %lu (order %lu) to %lu (order %lu) buckets\n", + old_size, old_order, new_size, new_order); new_t = malloc(sizeof(struct rcu_table) + (new_order * sizeof(struct _rcu_ht_node *))); assert(new_size > old_size);