From: Mathieu Desnoyers Date: Tue, 2 Nov 2010 21:26:49 +0000 (-0400) Subject: remove debug code X-Git-Tag: v0.12.36~1^2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5d80006cec19cba58b7a2e5a97b4afc5bd91c7e5;p=lttv.git remove debug code Signed-off-by: Mathieu Desnoyers --- diff --git a/lttv/lttv/state.c b/lttv/lttv/state.c index 7700b52c..bd3f64d6 100644 --- a/lttv/lttv/state.c +++ b/lttv/lttv/state.c @@ -1494,7 +1494,6 @@ static void lttv_state_free_trap_states(LttvTrapState *states, guint n) static LttvBdevState *get_hashed_bdevstate(LttvTraceState *ts, guint32 devcode) { gint devcode_gint = devcode; - printf("get_hashed_bdevstate devcode %d\n", devcode_gint); gpointer bdev = g_hash_table_lookup(ts->bdev_states, &devcode_gint); if(bdev == NULL) { LttvBdevState *bdevstate = g_new(LttvBdevState, 1); @@ -2766,7 +2765,6 @@ static gboolean bdev_request_issue(void *hook_data, void *call_data) guint oper = ltt_event_get_long_unsigned(e, lttv_trace_get_hook_field(th, 2)); guint32 devcode = MKDEV(major,minor); - printf("major %d minor %d oper %d devcode %d\n", major, minor, oper, devcode); /* have we seen this block device before? */ gpointer bdev = get_hashed_bdevstate(ts, devcode);