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] [PATCH][RESEND]Xenoprof passive domain support

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH][RESEND]Xenoprof passive domain support
From: "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2006 16:23:42 -0500
Cc: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>, "Santos, Jose Renato G" <joserenato.santos@xxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Delivery-date: Wed, 28 Jun 2006 14:24:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E42673822206994F8293A048721B91A50612EA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <E42673822206994F8293A048721B91A50612EA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
Xiaowei,

OK, doing a "make world" after applying your patch got the 
patches/linux-2.6.16.13/xenoprof-generic.patch patch applied correctly and 
that solved my previous problem, but now I have a new one:

CC      arch/x86_64/oprofile/../../../drivers/oprofile/buffer_sync.o
drivers/oprofile/buffer_sync.c: In function `sync_buffer':
drivers/oprofile/buffer_sync.c:522: error: `NO_DOMAIN_SWITCH' undeclared 
(first use in this function)
drivers/oprofile/buffer_sync.c:522: error: (Each undeclared identifier is 
reported only once
drivers/oprofile/buffer_sync.c:522: error: for each function it appears in.)
drivers/oprofile/buffer_sync.c:543: error: `DOMAIN_SWITCH_START_EVENT1' 
undeclared (first use in this function)
drivers/oprofile/buffer_sync.c:545: error: `DOMAIN_SWITCH_STOP_EVENT1' 
undeclared (first use in this function)
drivers/oprofile/buffer_sync.c:547: error: `DOMAIN_SWITCH_START_EVENT2' 
undeclared (first use in this function)
make[1]: *** [arch/x86_64/oprofile/../../../drivers/oprofile/buffer_sync.o] 
Error 1
make: *** [arch/x86_64/oprofile] Error 2

There doesn't appear to be a definition of these DOMAIN_SWITCH things in your 
patch or anywhere else in linux-2.6.16.13-xen nor on the xen side, so it 
seems to me your patch is broken here, somehow, unless there is some other 
"trick of the build" that I haven't come across.


-- 
Ray Bryant
AMD Performance Labs                   Austin, Tx
512-602-0038 (o)                 512-507-7807 (c)



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel