Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3862186imu; Mon, 7 Jan 2019 10:50:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/UUiE9T80OOKkWHR/C6eBkLh68daqRMkss39h40cYOzHW2UVOEAYgESBcF8Eb1Cm7aGxKxL X-Received: by 2002:a62:1a44:: with SMTP id a65mr65263935pfa.30.1546887002881; Mon, 07 Jan 2019 10:50:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546887002; cv=none; d=google.com; s=arc-20160816; b=eS443FJeEubh3aQZa6lGsZ7AoqZPDym8BQ7vq+8v3zybJym1clpESuG06GCBhI6bDS ZZiUBrA/hsgKq/PdScDYnpLtU1OIU6hxHoMXkS++km928QJPEbFMr+dhm5tTnvJzz0lK xKX9Ro1gvC3RhbTbw/XRuM+zOwzi7gJNRwSP9zM/6LitgpAAIycwX6etn+sCwZTa1Vr2 SbYV0dzxrf8JN7mAUoCnWsoin6CYwHHzvADhKSwnfUHgQ0f6RAICNmaNFOqKKWnk/o18 WCwnEz8xk1oWwsRZmp7pdFnHORQJs/lWhEMsZDHp2xa97xsUmE6ev3PRqxkrOCbVCtkp 6GUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=l8MF5ylrHgBWT7CxqQJ0nWw/bWNEm7U/jgGNWIlAFlc=; b=qaIkP8xjwxpoQM9zsG2DCl/vj5miLWlCc9+5BNqSgXI9E8q1kdabCSax86K/ZlRGeB PW/hR5ox6zcx6U90feexSfP6slTRFhhn60YDh9w9kLNux1cnPPQDpjHsdSwGIIU/sDkG 5OFR1xX2pbLWB8qERLluM2g/VmlPJv6JRARx8gOo+EZC2s3VlgcRmLrMAg97W8Z0+OJJ JVSF6Oy24SoW3s9NNYr50jRAA/3RDCw1QrzBMf5NHIdtA+Y1nA0SGhHSgCA5k/QPgEH4 AA58D5AHJqg+tHJ8HVwzG6q74R4LOI19p5dnE0NArLqIeZbF8QC+OEhIZhuCQYhQ6uyO vKIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 127si21938199pfg.173.2019.01.07.10.49.47; Mon, 07 Jan 2019 10:50:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730391AbfAGQ1q (ORCPT + 99 others); Mon, 7 Jan 2019 11:27:46 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34066 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbfAGQ1q (ORCPT ); Mon, 7 Jan 2019 11:27:46 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9B3E15AB; Mon, 7 Jan 2019 08:27:45 -0800 (PST) Received: from e119886-lin.cambridge.arm.com (unknown [10.37.6.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 74EC33F5A0; Mon, 7 Jan 2019 08:27:41 -0800 (PST) From: Andrew Murray To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Richard Henderson , Ivan Kokshaysky , Matt Turner , Will Deacon , Mark Rutland , Shawn Guo , Sascha Hauer , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Borislav Petkov , Russell King , suzuki.poulose@arm.com, robin.murphy@arm.com, Michael Ellerman Cc: x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-alpha@vger.kernel.org Subject: [PATCH v4 01/13] perf/doc: update design.txt for exclude_{host|guest} flags Date: Mon, 7 Jan 2019 16:27:18 +0000 Message-Id: <1546878450-20341-2-git-send-email-andrew.murray@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546878450-20341-1-git-send-email-andrew.murray@arm.com> References: <1546878450-20341-1-git-send-email-andrew.murray@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update design.txt to reflect the presence of the exclude_host and exclude_guest perf flags. Signed-off-by: Andrew Murray --- tools/perf/design.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/design.txt b/tools/perf/design.txt index a28dca2..0453ba2 100644 --- a/tools/perf/design.txt +++ b/tools/perf/design.txt @@ -222,6 +222,10 @@ The 'exclude_user', 'exclude_kernel' and 'exclude_hv' bits provide a way to request that counting of events be restricted to times when the CPU is in user, kernel and/or hypervisor mode. +Furthermore the 'exclude_host' and 'exclude_guest' bits provide a way +to request counting of events restricted to guest and host contexts when +using Linux as the hypervisor. + The 'mmap' and 'munmap' bits allow recording of PROT_EXEC mmap/munmap operations, these can be used to relate userspace IP addresses to actual code, even after the mapping (or even the whole process) is gone, -- 2.7.4