From: George Dunlap Subject: Re: Tools for tracing process switching in dom0 Date: Thu, 13 Aug 2009 11:38:01 +0100 Message-ID: References: <40B551BEDC7945419A5897958AB3947C018F0AFD@mtexch.marathontechnologies.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <40B551BEDC7945419A5897958AB3947C018F0AFD@mtexch.marathontechnologies.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Roger Cruz Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Is this in 2.6.18, or 2.6.27 (pv-ops)? I'm not familiar with Linux tracing, but I think whatever is available in either of those kernels should work in a similar way that it does on bare metal. If you want to see what Xen is doing, you can use xentrace. Real Soon Now (hopefully this week) I'll be releasing xenalyze, which is a pretty powerful tool for extracting information from trace files. -George On Wed, Aug 12, 2009 at 6:36 PM, Roger Cruz wrote: > > We are putting a heavy load on dom0 and some occasions we see cases > where processes appear to stall (based on timestamp information in their > log files). =A0I have not been able to determine what causes these > processes to starve for CPU cycles but I'm guessing some other higher > priority process/service may be coming in periodically and disrupting > our process. > > I'm wondering if there are any Linux tracing/probing tools that work in > dom0 that would allow me to capture (with a timestamp) all process > context switches. > > Thanks > Roger > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >