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

[Xen-API] Debugging Xen with PERF_COUNTERS


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: çèå Luwei Cheng <chengluwei@xxxxxxxxx>
  • Date: Tue, 30 Mar 2010 12:20:41 +0800
  • Delivery-date: Mon, 29 Mar 2010 21:20:56 -0700
  • 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=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

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

 


Rackspace

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