lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52867E0F.6020601@cn.fujitsu.com>
Date:	Fri, 15 Nov 2013 15:03:27 -0500
From:	Dongsheng Yang <yangds.fnst@...fujitsu.com>
To:	David Ahern <dsahern@...il.com>
CC:	mingo@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ