Received: by 10.192.165.148 with SMTP id m20csp321070imm; Fri, 20 Apr 2018 07:19:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+AsMPTJNdJoQlkG6X3M2Cxg0jSx+rlUH1JYYcdtdot6qPnBr3OewvriOKA0TiiQkSImFtp X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr10510804plo.72.1524233986733; Fri, 20 Apr 2018 07:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524233986; cv=none; d=google.com; s=arc-20160816; b=xfPtW9byOjWKPEdM8QF6XrsJo0UqQR1sCT3bbikv79dJU78PSzhTwSfm/t83QMNFkW gHVoGoWo+3kOMpNcfE4vNpuN01L0AMRfAjz3mV/lTAQpIdV9JFawKRZDKevLEd5tk2Dg KY2JpLB05K+jO6EzdvT5e2UqNXkAbd6kjnlTi3YMVKbKh9gDoxyIBs+gHrFgMoyJvjBe KvuyHdN/0+2/tbyEcJWirxqsfZwx0Fvs0O83zOLstGIxibjck8sQyFCJqdEhowcSwnSU 0XKUg7kd4DMAJtAkZ6Wgl8/GiDQHv8Dk+PpFw4IvQ3ZE+kng0twyt4OMzy5P/zf8POYt u8fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature :arc-authentication-results; bh=j+EGyTBZhjxtKnrA7Ulk1xyQG/N0PUjK0Ovza2e3AS4=; b=fy0HcAO+Au+7kIPTJ5u49u7OlembFgijAu9KB+qN64E/g/AOC+vQl4K2fIN4XZND0N 67k0ettKDREDzrc7LhYqsNjTKMQ+nws0l3LS2aCmsjioP5Hz1nkE2HJ6GWaUQPFl8+FX dq9g+zM8XEcvV9lJufHA7emvW/oyqtaLVCKnu53/tSWBUTmZOu0YiP7a5bGG+4F31Ky2 9UAg74r1WFyk55VJk9Op6FT1bfiDmc2MyQ4ytmaXNR6RYKZ0++Iul4YO3r0icCO6nstw JtriSv5DSkozAcgFV9+OgFUXwHVamIWnak9LKBkSxIEu1upr+M3KCUKjuHZXofndeT9i GtVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=cFziyG4S; 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 t24-v6si5788065plo.258.2018.04.20.07.19.32; Fri, 20 Apr 2018 07:19:46 -0700 (PDT) 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; dkim=pass header.i=@maine.edu header.s=google header.b=cFziyG4S; 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 S1755199AbeDTOSI (ORCPT + 99 others); Fri, 20 Apr 2018 10:18:08 -0400 Received: from mail-qt0-f169.google.com ([209.85.216.169]:38060 "EHLO mail-qt0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755168AbeDTOSH (ORCPT ); Fri, 20 Apr 2018 10:18:07 -0400 Received: by mail-qt0-f169.google.com with SMTP id z23-v6so9680733qti.5 for ; Fri, 20 Apr 2018 07:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=j+EGyTBZhjxtKnrA7Ulk1xyQG/N0PUjK0Ovza2e3AS4=; b=cFziyG4SF5D+4tDiW3sZ2qzM7IapYbl5vfW2CKh/5v3X4MkDBQXPkQp3yBXaNSbmYm 3KJceqb4aMrgwKh49wX/ZodjEWT2DmSuEtic2xCUZwDuTorX03b7K9HdU/6rg5l1mhjS 9vTOwNj2PIN9EyuddmtMCUmEdrGSrNV4Fv0SA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=j+EGyTBZhjxtKnrA7Ulk1xyQG/N0PUjK0Ovza2e3AS4=; b=TXQXkP4k04xsR1QGRuum49VNoM8hcQOcQfDp4onlrKVu3dbcwynjxquWh+SXrVwhMb TPI4OC+QF+BrBP9VqEtvUthoqH8tFYZ4u6LpU86dkLht/yo6L3lG5bq20qjKUdtjQVm4 721zeZkhlMaFZ7uKaeXOnUINIF/W0VGYX7/T2+jJCDFW1OjNzXUJJlt3xyIeZ19I31wQ 7Ki1WtU8ZK9MZeGDJDlRvjpUP3hQmBVIXd0R7QAh6l74m5pNK1CrnN1kCR01Ix733Ovs 9FzOEjq5TKcYp0tcbXXq39ejKceSP+q7+84vro/cglBWwRqpSGFum6WCJoDkgpdIsjnm Iupw== X-Gm-Message-State: ALQs6tCO0Q198U264QbGhWgPonqJqbGWNpM3nW2UGkn56Dvk8S03NY/X mqUbojFNF8ir18peHpD/UYerbg== X-Received: by 2002:ac8:714b:: with SMTP id h11-v6mr11127720qtp.126.1524233886987; Fri, 20 Apr 2018 07:18:06 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id 41-v6sm5356865qtp.8.2018.04.20.07.18.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Apr 2018 07:18:05 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 20 Apr 2018 10:18:04 -0400 (EDT) X-X-Sender: vince@macbook-air To: Peter Zijlstra cc: Vince Weaver , Jiri Olsa , Stephane Eranian , LKML , Arnaldo Carvalho de Melo , mingo@elte.hu, Andi Kleen Subject: Re: [RFC] perf/core: what is exclude_idle supposed to do In-Reply-To: <20180420083607.GG4064@hirez.programming.kicks-ass.net> Message-ID: References: <20180417062010.GA2052@krava> <20180420083607.GG4064@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Apr 2018, Peter Zijlstra wrote: > On Wed, Apr 18, 2018 at 11:10:20AM -0400, Vince Weaver wrote: > > On Tue, 17 Apr 2018, Jiri Olsa wrote: > > > > > On Mon, Apr 16, 2018 at 10:04:53PM +0000, Stephane Eranian wrote: > > > > Hi, > > > > > > > > I am trying to understand what the exclude_idle event attribute is supposed > > > > to accomplish. > > > > As per the definition in the header file: > > > > > > > > exclude_idle : 1, /* don't count when idle */ > > > > > > AFAICS it's not implemented > > > > so just to be completely clear hear, we're saying that the "exclude_idle" > > modifier has never done anything useful and still doesn't? > > AFAICT it works on Power and possibly ARM. at least some ARMs are a bit more honest about it than x86 ivybridge: Performance counter stats for '/bin/ls': 1,368,162 instructions 1,368,162 instructions:I pi2/ARM cortex-A7 Performance counter stats for '/bin/ls': 1,910,083 instructions instructions:I I'd fire up my Power8 machine to see but not sure it's worth the hassle and/or having to get out the ear protection. Vince