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: Wed, 23 Mar 2011 18:54:24 +0100 Message-ID: <98f7ec77974cd132505c.1300902864@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 1300900086 -3600 # Node ID 98f7ec77974cd132505c662b244c55deae712a07 # Parent f9b7516023d3897e545e41ecf6950a798bea0703 xentrace: remove gdprintk usage since they are not in guest context Signed-off-by: Olaf Hering diff -r f9b7516023d3 -r 98f7ec77974c xen/common/trace.c --- a/xen/common/trace.c Wed Mar 23 18:08:05 2011 +0100 +++ b/xen/common/trace.c Wed Mar 23 18:08:06 2011 +0100 @@ -119,7 +119,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;