WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Debug event_channel.c

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Debug event_channel.c
From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Date: Tue, 27 Sep 2011 12:33:03 +0100
Delivery-date: Tue, 27 Sep 2011 04:33:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP2B85-QBczrKLWSKaRVBkao3=6PB=wnYvuKmoXYqGDbZFnTXA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAP2B85-QBczrKLWSKaRVBkao3=6PB=wnYvuKmoXYqGDbZFnTXA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13
On 27/09/11 12:09, Daniel Castro wrote:
> Hello All,
>
> I am trying to debug event_channel.c for this I have filled the
> functions with gdprintk(XENLOG_WARNING, "..."); yet the messages are
> not displayed on dmesg or /var/log/xen. Where could they be printed?
> or should I use a different function?
>
> In grub I have loglvl=all to print all messages...
>
> Thanks for the answer,
>
> Daniel
>

gdprintk only gets set with guest debugging enabled. ( guest_loglvl on
the command line )

My suggestion would be to just use regular printks and look at the
serial log.

-- 
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel