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

[Xen-devel] how to use printk() in xen?

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] how to use printk() in xen?
From: "Haifeng Fang" <fhf25@xxxxxxx>
Date: Sat, 26 Apr 2008 20:59:55 +0800
Delivery-date: Sat, 26 Apr 2008 05:58:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: www.ict.ac.cn
Reply-to: fhf25@xxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>