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-api

[Xen-API] Debugging Xen with PERF_COUNTERS

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Debugging Xen with PERF_COUNTERS
From: 程蘆偉 Luwei Cheng <chengluwei@xxxxxxxxx>
Date: Tue, 30 Mar 2010 12:20:41 +0800
Delivery-date: Mon, 29 Mar 2010 21:20:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=VFLP+AAXmI6u4q6t+wtD1XGrs1g7p0l6XRs/6joYjG4=; b=DpeHa0d/5O/8lgvDIMlg6FtAe1XXKEe2OkLRLpc8NkT9mQWFz5ebZgdqQO8U+UfXnR DcF3I5DA4CHdRMP1L8udl3MigW2Pz82OvSu2uxGc6LB8NbiIuCKYLg9lFjVLosdzJNvu DIIVsa9uUyCK0RSKV34/lqyq8JMPjTGMeCL+s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=DmFA80uCQ50rbQ2eq2angOw3/zMliQodxF6JNpJiS0AskJnait1ngHLy1GBNEP+UN9 k4fCd5QYFjsxmNhZcwREnPE0mYa8yKoT+3J62BNgdOCx5z3vM4gauKiKRa26ta3URy2Y G7JkBbQbTo9kfxDkwUP3VzU/53Hsvj+f7mJ/g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I am hacking xen source code with build-in debugging tools (xm debug-key).

In /xen-xxx/xen/common/keyhandler.c, a bunch of handlers are registered for debugging. 

Does anyone know, how to enable those configurations in compiling, such as "PERF_COUNTERS", "NDEBUG" etc ?
add "PERF_COUNTERS ?= y" in /Config.mk? I am a bit new to gcc makefile style.

Many thanks.

Best Regards,
Luwei 
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] Debugging Xen with PERF_COUNTERS, 程蘆偉 Luwei Cheng <=