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: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Subject: Re: [Xen-devel] Debug event_channel.c
From: Daniel Castro <evil.dani@xxxxxxxxx>
Date: Tue, 27 Sep 2011 20:36:18 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Sep 2011 04:36:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=YVpz6jPODL+S5/tbhEu4HcebNOhAbu7ZTcccRARuPmU=; b=tGOSwHeO5g2izB1O6uAxFeZWQ2BrwDX3W3f8YYJG6H7Rt0XKIx88rInkavMTeds+AX BmAhGtY66oP61f2CZQGw0dozpDMrEX1qXov+foAwZQFX+wNFyOMKHdnDcBb4eSN2dglb Iv9Wot7X/6i/vzpCVq21dhZCf4iEEJJKf7uNA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E81B46F.5080208@xxxxxxxxxx>
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> <4E81B46F.5080208@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Sep 27, 2011 at 8:33 PM, Andrew Cooper
<andrew.cooper3@xxxxxxxxxx> wrote:
> 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.

How can can I look at the serial log from dom0?

>
> --
> 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
>



-- 
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| |   | Daniel Castro,                |
| |   | Consultant/Programmer.|
| |   | U Andes                         |
+-------------------------------------+

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