lkml.org 
[lkml]   [2013]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf kvm record: Change the default value of perf_guest to 0.
Hi David:

On 11/14/2013 03:38 PM, David Ahern wrote:
> On 11/14/13, 2:51 PM, Dongsheng Yang wrote:
>> Currently, we can not record the event counters of host to
>> perf.data.host.
>> Example:
>> perf kvm --host record -a sleep 1
>> [ perf record: Woken up 1 times to write data ]
>> [ perf record: Captured and wrote 0.625 MB perf.data.guest (~27290
>> samples) ]
>
> perf kvm by definition wants --guest enabled. Host profiling is done
> with just 'perf record'; no need for the kvm layer at all. If you
> really want to go through perf-kvm to record host events disable guest
> actions:
>
> $ perf kvm --host --no-guest record -a sleep 1
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.029 MB perf.data.host (~1255
> samples) ]
>
>
> David

Thanx for your reply ! It makes sense.




\
 
 \ /
  Last update: 2013-11-15 08:41    [W:0.043 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site