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-next>] [day] [month] [year] [list]
Date:   Tue, 18 Jan 2022 12:05:45 +0800
From:   Eric Lin <eric.lin@...ive.com>
To:     linux-kernel@...r.kernel.org, namhyung@...nel.org,
        jolsa@...hat.com, alexander.shishkin@...ux.intel.com,
        mark.rutland@....com, acme@...nel.org, mingo@...hat.com,
        peterz@...radead.org, yao.jin@...ux.intel.com
Cc:     Greentime Hu <greentime.hu@...ive.com>,
        Paul Walmsley <paul.walmsley@...ive.com>,
        Vincent Chen <vincent.chen@...ive.com>
Subject: About perf tool set exclude_guest = 1 on guest environment

Hi all,

Currently, I run the perf command 'perf record -e branches:u ls'  and
'perf record -e branches ls'. It will set exclude_guest = 1 as below:

# perf record -e branches:u ls
# perf evlist -v
branches:u: .., exclude_kernel: 1, exclude_hv: 1,, exclude_guest: 1, ..

# perf record -e branches ls
# perf evlist -v
branches: ..., exclude_guest: 1, ...

As I understand it, set exclude_guest =1 will not include guest counting.
May I ask if I run the above commands as a guest user, should the
architecture implementation ignore this exclude_guest flags and still
make perf can count guest events in Linux kernel?

Best regards,
Eric Lin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ