Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp723729pxb; Wed, 8 Sep 2021 10:46:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEzgnH4cixuSLRism8P5/EOf3Z4fgqD7Gi7RPTPeSUCKW6FNaStPaH+ezWj6T1im9CZUUn X-Received: by 2002:a05:6e02:1308:: with SMTP id g8mr779205ilr.127.1631123196489; Wed, 08 Sep 2021 10:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631123196; cv=none; d=google.com; s=arc-20160816; b=J44S9SgjWKiBfgTmm1WAKj1Iy5Y9/0oJhsnHMqdX04iFlwjD4f/LB7Zs7L87WMsuX/ iIJjHK72TNp8QAOcTI8DKmEZyZu29jjQgNOHykURQS7yFckjPCVAt5o+OKJtLU0NJ7Gn dLd+IwrPsZTVrVZmw7ENTxQhmGD0UeUR/cIMe3BhYY1X0thguVMjqyf8bOhjXW9bsL8D H3ckkaMg2GyGiJcJM8hyP5FU8GT/AYo1QO8thx80edzkyVDbMVwLvRXG0ylaRTCgpRUL S/xLpoB7mN9M4xdU/1dYU8+X5z/6rTubPqGdSOJeFSHBgo9zVUiiJgozw1M9UPOdVDu9 Y84A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BxZ31DOmwCELvDqsPbF5FoFHvXPi39qvTpSdteuw5Ug=; b=RjoMvxY7l8qxg+gRQpEA2Zq8KKg/fN77TfkiRHiOvC6q/uYU33j2NdJ+LcL6RZTrDt LCnS1JvTzcasIFbG3RNKLjz8xTRnKvIY+ESrpVQXMOMrGZSrAlZ9YBRiXD9MOt/k2TA4 mOO/yRbNzdspSpb4AEi5MVx2f2QggA3jJHv97ssAY07TWsUGxuWO+ww5gKZzrPZ6tANa pz52BrLjaFpgbjXK5ZlstTbXFF/3ozsU67XKhdyvM17U5hXjp+NTnjK7ujOnQhxPV2iK qjvRG3hONg5I+8ynaZNqd9p9Dn8mGERN1A87KtsezCmAvhO6NIi/Lx4Nw9mHO/zLM+yr 93nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZN8zXn3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u20si2332757iot.57.2021.09.08.10.46.24; Wed, 08 Sep 2021 10:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZN8zXn3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349494AbhIHPTr (ORCPT + 99 others); Wed, 8 Sep 2021 11:19:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:44404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235940AbhIHPTo (ORCPT ); Wed, 8 Sep 2021 11:19:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6ED4560F6C; Wed, 8 Sep 2021 15:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631114316; bh=QYYCrb5xUdDBqMUZgOy0J9e3LMwjGDvCfYmNV5Vqq1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZN8zXn3QFbidhhCFiQ/x6qjt630vQckN7G45WnmaBd2xpKQrIDUZ8g8eTfBsFfZYr hqOwlLzOOt7wOe1Pr1M8ZQ6svb6imREHq0sRN/MO7dhscORhqh3oJ5Q7L8IJmYE0ha 3UvAgG1mu90ni7m5Jbl4iWqeuJWHsFctSeMDEp/a/OiCe9j3uTwXQUZItuD2WS6t23 z2z9j58Pu2AM5aRg6eF9AWxxSR/uqqRpayJOADQy2Z44Q6EyfHTwj0qflPBXrH1/gq nxiCIVjBkbm792Ksso0Md6Ersi5CbnC8xeV9KSa7vUgeMLamqx5ceNP6DCn/5duy+Q ljGycoH/U2fNw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id EA2D34038F; Wed, 8 Sep 2021 12:18:30 -0300 (-03) Date: Wed, 8 Sep 2021 12:18:30 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Andi Kleen , Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf dlfilter: Add dlfilter-show-cycles Message-ID: References: <20210906160850.22716-1-adrian.hunter@intel.com> <7bee95a7-fa31-a801-8068-80c63ba6ccfe@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Sep 07, 2021 at 10:06:03AM +0300, Adrian Hunter escreveu: > On 7/09/21 5:54 am, Andi Kleen wrote: > > On 9/6/2021 9:08 AM, Adrian Hunter wrote: > >> Add a new dlfilter to show cycles. > >> Cycle counts are accumulated per CPU (or per thread if CPU is not recorded) > >> from IPC information, and printed together with the change since the last > >> print, at the start of each line. > > Thanks! An example how to use it would be nice > I started looking at making an example and noticed that this approach > does not work very well because the IPC cycle count only increases when > the IPC is output which (for CYC accurate mode) is only happens when a > CYC packet is output that corresponds to the current sample. Seems like > this needs a re-think, sorry. Ok, will wait then. And this shows part of the value of this, checking if it works as expected :-) - Arnaldo