Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp559009imu; Tue, 20 Nov 2018 03:34:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xyu5oaDukaXzGnDAHQ1y8vRJgmsFM4gkowQQksGWvKyMg4miQ7XFE2GiyA+kKN3AG9/9Wz X-Received: by 2002:a63:5153:: with SMTP id r19mr1543986pgl.281.1542713640318; Tue, 20 Nov 2018 03:34:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542713640; cv=none; d=google.com; s=arc-20160816; b=iamb2YwD0aapoDWQXEm5EmwB1U20fSzlcDE+tGY42KwwddokKTKsJ8T+GNzuvn6sUQ 11eEoHsDI/cIVjlReV4YsSByOPv4uVhQHpo3zYTuUyINjIgsH2smWl+ySdEKwaE8UIGO BNMWhdE7ofaGZ6t45mPdU08bUnV+u20++gf3n5o9jNwwejG6jF7FLFwttRnAWzKP083H rnPm5mV+Q/fHxLQNnJfaLu9izM5SDYpz5EncRKzFoAqZd+qiCb4UV8hhZRWu3WwaGn43 IhevIrtgikkYjZysJmImGeG0RQl2hALO153HstDYkSAQGh81vkfqDEGaLBms3CbS+8M3 Qixw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=oPV+rXNjsvY4PAhBZJ9NBZOEcYCoqXUcpmV7MdIYjck=; b=mYBHWlofYLagp+k+zFLj+rJoGBamBqlkpfquV8h4T7sSFddhncbTRkvJbY32ARJ4bC 4WL8XJsHcUyWBOMj6IsTl3H8MdPiYnkZDJPmFqDhveDylVhl6I68MFMClDZUpbaLcoF3 Vx7+y2iCj9u3/pNUjS7doz442iTm8Bhvc90ZyUIA+ZTnlfZGqhcI/KKkzO8nIfeu1Dc7 Y6TthCPFRcGZZPXSRFFQEZoz/6ZBW1i6Pw5HY2sghZfWtb/yWuzNA20owCnDskPFkIoN Loqvztbp+Vsp6Nfc6j9bD0XWdAV6fN2jX0aCaDw7f32AYEvSBAuOFNhmgWOBCKeTrYLZ +x+Q== 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 82si28580476pfa.115.2018.11.20.03.33.45; Tue, 20 Nov 2018 03:34:00 -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 S1729214AbeKTWAU (ORCPT + 99 others); Tue, 20 Nov 2018 17:00:20 -0500 Received: from ozlabs.org ([203.11.71.1]:33351 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729108AbeKTWAU (ORCPT ); Tue, 20 Nov 2018 17:00:20 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42zk7D6d6zz9s3l; Tue, 20 Nov 2018 22:31:36 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Andrew Murray , 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 Cc: linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/10] perf/doc: update design.txt for exclude_{host|guest} flags In-Reply-To: <1542363853-13849-11-git-send-email-andrew.murray@arm.com> References: <1542363853-13849-1-git-send-email-andrew.murray@arm.com> <1542363853-13849-11-git-send-email-andrew.murray@arm.com> Date: Tue, 20 Nov 2018 22:31:36 +1100 Message-ID: <87pnv00yuf.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew Murray writes: > 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..7de7d83 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 virtualisation. How does exclude_host differ from exclude_hv ? cheers