From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH 3 of 5] xentrace: remove gdprintk usage since they are not in guest context Date: Tue, 22 Mar 2011 20:21:31 +0100 Message-ID: <364ccfbfb31f3280a5ac.1300821691@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: George Dunlap List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Olaf Hering # Date 1300813695 -3600 # Node ID 364ccfbfb31f3280a5ac32f8f50cf5c84087eb39 # Parent d61854ab2758f691818678c2d03e18e0e165802a xentrace: remove gdprintk usage since they are not in guest context Signed-off-by: Olaf Hering diff -r d61854ab2758 -r 364ccfbfb31f xen/common/trace.c --- a/xen/common/trace.c Tue Mar 22 18:08:10 2011 +0100 +++ b/xen/common/trace.c Tue Mar 22 18:08:15 2011 +0100 @@ -117,7 +117,7 @@ size /= PAGE_SIZE; if ( pages > size ) { - gdprintk(XENLOG_INFO, "%s: requested number of %u pages reduced to %u\n", + printk(XENLOG_INFO "%s: requested number of %u pages reduced to %u\n", __func__, pages, (unsigned int)size); pages = size; } @@ -265,7 +265,7 @@ */ if ( opt_tbuf_size && pages != opt_tbuf_size ) { - gdprintk(XENLOG_INFO, "tb_set_size from %d to %d not implemented\n", + printk(XENLOG_INFO "tb_set_size from %d to %d not implemented\n", opt_tbuf_size, pages); return -EINVAL; } @@ -310,7 +310,7 @@ { if ( opt_tbuf_size && alloc_trace_bufs(opt_tbuf_size) ) { - gdprintk(XENLOG_INFO, "Xen trace buffers: " + printk(XENLOG_INFO "Xen trace buffers: " "allocation size %d failed, disabling\n", opt_tbuf_size); opt_tbuf_size = 0;