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

Re: [Xen-devel] Questions about LOG system



Please do not top post. http://wiki.xen.org/wiki/AskingXenDevelQuestions

On Wed, 2012-02-15 at 06:40 +0000, ææå wrote:
> Well, I have found the wrong code.
> The macro DPRINTF  points to
> #define DPRINTF(_f, _a...) xc_report(xch, xch->error_handler,
> XTL_DETAIL, 0, _f, ## -a)
> So is this Xen's private log system ? Where messages write via
> xc_report and xc_report_error function?

You should have been able to find these functions by using "grep" or
other similar tools (hint: look under tools/libxc).

Had you done so you would have found that they use the xtl logger
infrastructure. xch->error_handler is the logger passed to
xc_interface_open(), the behaviour of which is documented in the header.

Ian.




_______________________________________________
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®.