Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Thursday, March 11, 2010 - 12:36 am

On 03/11/2010 09:20 AM, Sheng Yang wrote:

This can be very expensive in the nested virtualization case, so I 
wouldn't like this to be in normal paths.  I think detailed profiling 
like that can be left to 'perf kvm', which only has overhead if enabled 
at runtime.

For example you can put the code to note the cpl in a tracepoint which 
is enabled dynamically.

-- 
error compiling committee.c: too many arguments to function

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat, Avi Kivity, (Thu Mar 11, 12:36 am)