Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2512384imm; Thu, 7 Jun 2018 11:55:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJRVIB5KGK/EDeQJ8Ol22BQ5z3ZaVhe3skhDZsTUEgRLoIWufPMvNek1oVUCcTM9vociGFE X-Received: by 2002:a63:721d:: with SMTP id n29-v6mr2506984pgc.194.1528397734325; Thu, 07 Jun 2018 11:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528397734; cv=none; d=google.com; s=arc-20160816; b=zKFgiRHU7YMOBxk7agAdm+PKu0CQUHKYkfeRjfbscsX9swH3kLdIQz/ZsYEeh8ASn4 012XExW9bW6HXd1nz5KWzTZTlW6FcOuo24NURdjXg8hrRJ1aekcJ2NLPCjCSDvYleafS Saf1rfPNvL59v0YXj1DzGixJLbgzOpN+f97gKWLAmBGPiRvA2CQXrLi+KoaLBs7GrDCs RBpVYmM6M8J2mbsdOiIWkABoRy0MRPa6hvd5cMzR9Js30WFk7mg5bF32wAtJ6b+T8FPk UF3C/xZQV+d84yRTAnTJUb+8/+fdvasGaOcYUkFcAEa5HGk/j2WDP31mycwa+ICFBVGU k4CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Hv/VRsV+x5mV52wIs260++TgfF77Mi/dybxEbSOFM18=; b=FbzzZri5S6zXu0dCJ8QR9bO4FcpaJ6D9W8POjdzO17NtOfm4RWBXqBDSel+oFyTaev 1ZVZXuif3/dxg9jJBf49UhI0j3UfXj+21hNpuKIuZXt6NkZdjdpU/hGcrIeAt4k7YcnZ I0lX/ZycJwW++Zo1yFbrMeApnpTDioxZwaKGrS3I12YOFr/V7IblfD1DkzvcxBfRAxw+ +n/QcimXqKL4p7qTGZpepXejGOnjG9MgaKI+B94BwRr08sPIr0DJJtCruBerYE1MYZbL N97DEqVhgUwXTrggdltay6vL22ivskNGyCw2I+ApkhJVpyKZKUTCah9dzUKIT1nyQL0S hJ+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=FGEp0fNA; 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 z190-v6si29169849pgd.646.2018.06.07.11.55.20; Thu, 07 Jun 2018 11:55:34 -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=@firstfloor.org header.s=mail header.b=FGEp0fNA; 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 S934593AbeFGPp0 (ORCPT + 99 others); Thu, 7 Jun 2018 11:45:26 -0400 Received: from one.firstfloor.org ([193.170.194.197]:57172 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933756AbeFGPpY (ORCPT ); Thu, 7 Jun 2018 11:45:24 -0400 Received: by one.firstfloor.org (Postfix, from userid 503) id 78FF986874; Thu, 7 Jun 2018 17:45:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firstfloor.org; s=mail; t=1528386322; bh=Hv/VRsV+x5mV52wIs260++TgfF77Mi/dybxEbSOFM18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FGEp0fNAmpwbYam4T9opVmwKoVCo3tAKPi6h49yrFN41E4x0TaobAhFJAFtFqFsco rl3AygAnFTFMDpsWS1so2zdebajQ/t1n+P1CW51EFqebNqqq3ha0xqLVNaz2RkQ03L Pa3cizdMVc1ubHDl7Zz4BtHRvet3Ani0EGeyKct4= Date: Thu, 7 Jun 2018 08:45:22 -0700 From: Andi Kleen To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , lkml , Ingo Molnar , Namhyung Kim , David Ahern , Alexander Shishkin , Stephane Eranian , Milian Wolff , Andi Kleen , Frederic Weisbecker Subject: Re: [PATCH 09/10] perf/cputime: Don't stop idle tick if there's live cputime event Message-ID: <20180607154522.hyjmxn3q6zgcvsnx@two.firstfloor.org> References: <20180606221513.11302-1-jolsa@kernel.org> <20180606221513.11302-10-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180606221513.11302-10-jolsa@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 07, 2018 at 12:15:12AM +0200, Jiri Olsa wrote: > Disable stopping of the idle tick when having live cputime > event. When the tick is disabled, the idle counts are out > of date until next tick/update and perf cputime PMU provides > misleading counts. I really don't like this. This can totally change performance (e.g. less Turbo due to less idle) and performance tools shouldn't change the performance profile drastically. -Andi