Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5712795ybg; Tue, 22 Oct 2019 07:20:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEIvvcCfdOd9BQ6is7LUXEzoeBiZG0BS4g2YLuAUso2b43W3hlThADvfLNPjvZeZwwRblg X-Received: by 2002:a17:907:104c:: with SMTP id oy12mr1188902ejb.269.1571754029124; Tue, 22 Oct 2019 07:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571754029; cv=none; d=google.com; s=arc-20160816; b=WYjLIcPsUHKefdj/FaAF8/Gq3i+3ivkWu/qhQlP3CsfjV+He6tTzD/1h8U+iS3vLwF NxlQMvEW4VJURkABkMutfIB0mao3Y+i23Gus9iWiRaTtb5LhURuLaI7hzkJ7knp/sAVa HsLh+qzXVR4Tlj8I29aJu+jksBw+DWJHSQ/k/WyQgqZu1JjG9SBy+M5Kijjkg6EmCytB 3+8dA5pjZH46WHMIcGv23LLmu7yeJBrf0/ebMKPCPtxwpsDnTN8RA1GV7GgYMrjOuDG+ vJRJag//ZVo1sOb/S91LFWqlMPeJf7XnMt298si4vv0f6czjKIcz26IanbVjeBIocta9 yykA== 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:date:from:dkim-signature; bh=arduzF1kaBslJXI74pdz56xr6dr059GQhC1NJB2xSFE=; b=w/jySMJOp4vAPj9AuJZ3Q4NlZzAQk2Hm8ErHuOrNNkBHbM2sMR6GJvL4O6kGfzW9Dc mtqM8h68X4m8Q/NXLB8uIMJZdKsccqZq75zgaYrSJ9e5GL6WqG5SiXIoxCNnQJk4Vpfz DZWXfSqPIaLN4zBwSU1WIfXGLK/+b8hXYdt0gCqlGfuKNJAzIq4/CSr5KweFwTwKvR5S rlTYlQwjPRYRxniV3vcE2FmWHJHm/Spk9nXkR8W38cqqQZcOOk+NdNhoE3NtvMZZ8Hpk ce1li999KayrC43Sz2X5e2t0VxBaYESxOtILXAZ3MG4oZxbxbXkadLm7lxoNlIoMPFxa GJhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YCRaElP+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si10954172ejk.158.2019.10.22.07.20.04; Tue, 22 Oct 2019 07:20:29 -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=@gmail.com header.s=20161025 header.b=YCRaElP+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388326AbfJVOLk (ORCPT + 99 others); Tue, 22 Oct 2019 10:11:40 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:33168 "EHLO mail-qt1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388082AbfJVOLj (ORCPT ); Tue, 22 Oct 2019 10:11:39 -0400 Received: by mail-qt1-f170.google.com with SMTP id r5so27012644qtd.0 for ; Tue, 22 Oct 2019 07:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=arduzF1kaBslJXI74pdz56xr6dr059GQhC1NJB2xSFE=; b=YCRaElP+gpxetCfMZggzVtUoHeeRk/Y7ygsovmdgMmP64xp3sTxvdrpZi18emZf2ui xWc9o/M4dKzJSzHpvCM0GPbxXJemh0YK9VMOFedXtk/DurHXz4dwKJse/oSLmhapxSbl ltCseOCjeskQ/zAO91IPgsDctagYTrUbjU4Mi1KkNCuZ252lRnEb3VqcCLLSmuHdjCtZ LdtUCI5RgBfqOm3l9R8+SDfaI5er3O7178hMb887dwzS0QKvv+E52by6YUBsnUZh5gq2 WybRH9AXOK1vKq4gZxwTk+vqi5JGOjqt6JzHdjOa5U0fPbNOjOZzYn7HsxBxbG9efKmR /8Fg== 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:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=arduzF1kaBslJXI74pdz56xr6dr059GQhC1NJB2xSFE=; b=GrijKycXUjKve/qCjREW/wYuRFvyrO8oVAvv2Ucb3g2jBXG0jPCgh1QkBE7lCntTjW WlQwxnq7q0Oh9yYGOZu3ujNc72CnbxkK2gX+Q3Ki5CfLxvP2yIvYGfXe5UKFToAjUSY9 zL7wPphIPLoh0txGeEiuigvGe/FxvrNXqpmgq2SwcyonZ39Cabpc7Ha1LZl1xxPQu1iW BaPnLODh7/LcsMaUsZqrgduEYWHNTjT/iqNpR2VFfyljxMQ0Z/q6mebYM08+IE4sul0f pyBDhYJAC8DIA7x/JoJfTHF+qlztMYMPgIzmEJtLygRF5Sr/1U35Znx62YM0GgL4ESPO cwfA== X-Gm-Message-State: APjAAAWC0NKhm/y27WZjJoD/vN+PRlLSbnM6i6qmyLDcG0toGtMgqltt 4oWTzT9aGPXh3tonRCBzOYw= X-Received: by 2002:ac8:5387:: with SMTP id x7mr3501726qtp.367.1571753498547; Tue, 22 Oct 2019 07:11:38 -0700 (PDT) Received: from quaco.ghostprotocols.net ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id z141sm10038341qka.126.2019.10.22.07.11.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 07:11:37 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 81A6E4035B; Tue, 22 Oct 2019 11:11:35 -0300 (-03) Date: Tue, 22 Oct 2019 11:11:35 -0300 To: Jiri Olsa Cc: Andi Kleen , linux-kernel@vger.kernel.org, jolsa@kernel.org, eranian@google.com, kan.liang@linux.intel.com, peterz@infradead.org Subject: Re: Optimize perf stat for large number of events/cpus v2 Message-ID: <20191022141135.GO1797@kernel.org> References: <20191020175202.32456-1-andi@firstfloor.org> <20191022080223.GC28177@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191022080223.GC28177@krava> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Oct 22, 2019 at 10:02:23AM +0200, Jiri Olsa escreveu: > On Sun, Oct 20, 2019 at 10:51:53AM -0700, Andi Kleen wrote: > > v1: Initial post. > > v2: Rebase. Fix some minor issues. > looks really helpful, I ack-ed 1st 2 patches, > I'll need more time for the rest Thanks, applied the first two, will go thru the others. - Arnaldo