Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5669548imu; Mon, 26 Nov 2018 03:49:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xkc40Ch76046u45aRIEBOvoQtT24ZNLWcijncfCMWa/kZY/Zpa8Ad+0p7+th59A9TXQewY X-Received: by 2002:a17:902:b60a:: with SMTP id b10mr25832294pls.303.1543232970221; Mon, 26 Nov 2018 03:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543232970; cv=none; d=google.com; s=arc-20160816; b=JpjAW/hr23HDl4ztJwwEXVRGQsdP+MfC2OV+7PZtQgBMl2fcYyyWfYXlNBcPxGswZF 5c51l9WxGuc7FL8AVysbMYdp/Dfgcc8OZU3/MKkgEKXm6/gT1w2YOgfvE284PJXnLrzy 5MSOYxq+BT0rB6+Wl4zC5TaLqW27irtW8YH/SBlPMzkFqH+lk/CYAksTOU9OhWbFv+lW qBKSN3jN1lHRn7v6d3JLymj2qp8G/sGyFKp2v+MTmgt3ii7/UBzcn8MPHPR+EC8W9ndE 1AQWUt0dNpnwiaaXbgJAGn/RAruaTkYQ7L+xkzWvoO/JkqyuBLadj+DuwBkR4KDnUgBU YNeg== 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=vFvYa3yFG/lIMSjW/KOn8jJYZ71lyPqFf0QK2BGFb3Q=; b=XsejUOY5bWTSxceTj0DpckC2+Ot8JWfCKLat7E5PO9vwdgZit0piV24jEnxyIZUo3y 2vtqGlEU4X1J6qaLr+dmiWNSbQiuoJrmEIhVQpJLBwF0xd3q3onVWNPr6iRUeKlje8ML U2wTuiFdUM9KsDjq8Xi999qZIuJi4RMIJXmPMSCfxYkkogVmfrFq4YOT3xBf8cwOBFxS SBWSo7hvlMOGZ4AOAf6dTAQVc5cnlJjE7m4lYaliHDZC3iPYqu3zlAMOpRv/ttkI9Vja QPCodS3BqPE3ITONZfKiFajyKtlweau9i3Olg7dVsQgjUpYv1GdncnWKwa9+VP4Kqj49 KHlQ== 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 k69si74648pga.176.2018.11.26.03.49.11; Mon, 26 Nov 2018 03:49:30 -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 S1730435AbeKZWHR (ORCPT + 99 others); Mon, 26 Nov 2018 17:07:17 -0500 Received: from foss.arm.com ([217.140.101.70]:60772 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbeKZWHR (ORCPT ); Mon, 26 Nov 2018 17:07:17 -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 A826A356D; Mon, 26 Nov 2018 03:13:29 -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 EC2D13F5AF; Mon, 26 Nov 2018 03:13:24 -0800 (PST) From: Andrew Murray To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Shawn Guo , Sascha Hauer , Will Deacon , Mark Rutland , Benjamin Herrenschmidt , Thomas Gleixner , Borislav Petkov , x86@kernel.org, Ralf Baechle , Paul Burton , James Hogan , Martin Schwidefsky , Heiko Carstens , "David S . Miller" , sparclinux@vger.kernel.org, Michael Ellerman Cc: linux-s390@vger.kernel.org, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-alpha@vger.kernel.org Subject: [PATCH v2 01/20] perf/doc: update design.txt for exclude_{host|guest} flags Date: Mon, 26 Nov 2018 11:12:17 +0000 Message-Id: <1543230756-15319-2-git-send-email-andrew.murray@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543230756-15319-1-git-send-email-andrew.murray@arm.com> References: <1543230756-15319-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..5b2b23b 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 KVM virtualisation. + 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