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] Xen File functions

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen File functions
From: sowmya dayanand <sowmyad@xxxxxxxxx>
Date: Sun, 30 Oct 2005 19:41:56 -0500
Delivery-date: Mon, 31 Oct 2005 00:39:00 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=QqXFAjEWZc27W98gM05A+hmHlS4QA3bSE2FMBGWA7o3V0TaJz8kX64+jerlorqjbMZIghfZ07TOqW1/p4OL3S9s3RHHpxa7TRbZ57fdCNykXi9q+I26KYtowMU+79bG8qsnB7dDTnFbehrpioT62PcTj7/BpkqcMEkRxBlNHVjc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

We are trying to modify the file /xen-2.0/xen/common/dom0_ops.c function: long do_dom0_op(dom0_op_t *u_dom0_op) to log all the calls made. We need to write all these calls to a file. I am not able to use standard C functions ( fopen , fprintf) as we get  compilation error. Are there any xen specific functions that we need to use to read/write files?

Thanks,
Sowmya.

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