[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Haifeng Fang" <fhf25@xxxxxxx>
  • Date: Sat, 26 Apr 2008 20:59:55 +0800
  • Delivery-date: Sat, 26 Apr 2008 05:58:49 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.