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] how to use printk() in xen?

To: <fhf25@xxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] how to use printk() in xen?
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Sat, 26 Apr 2008 21:07:36 +0800
Delivery-date: Sat, 26 Apr 2008 06:08:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200804262059551875028@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200804262059551875028@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcinnUa4xAvwrZQ9RFa/VDGxnxy1FwAARAiQ
Thread-topic: [Xen-devel] how to use printk() in xen?
xen/drivers/char/console.c
 
Jimmy


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Haifeng Fang
Sent: Saturday, April 26, 2008 9:00 PM
To: xen-devel
Subject: [Xen-devel] how to use printk() in xen?

hi, all:
 
i want to add a function in xen. in the function i need to call the "printk" to display the values of some variables.
 
i found the definition of printk() in file "xen-3.1.0-src\xen\include\xen\lib.h ":
 
extern void printk(const char *format, ...)
    __attribute__ ((format (printf, 1, 2)));
 
who can tell me the location of printk()?
 
thanks in advance.
 
2008-04-26

Haifeng Fang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>