Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3361933pxb; Mon, 6 Sep 2021 19:58:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeSbRa9MC+Gg2mpiP9n6KUegKIuuZ4pNdLYQMEazfFSH33+SRjyzCWW81p5JtsC4BQPaCo X-Received: by 2002:a5d:8a05:: with SMTP id w5mr11492567iod.155.1630983494732; Mon, 06 Sep 2021 19:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630983494; cv=none; d=google.com; s=arc-20160816; b=MuTufZgc/dbtOYGrUvMYdrST+LLaQS23jg6j2EYt4S9E1vmbjdMQYxQY6jMNg1XQ9l 1qYJ5ey8+tVNTRw8NqmqvmZ3hcOm12RFrlITkm2vOaeioiLWyfShHhrWJHUVhwXmjcxe 4ODRr10wnGU8dyeR65FEMhZuY6yMil7L4/+nc93qK6Y6o9p71rym5UcXIAn2AWmUD2Kq YDq5qefKNWYQ+aUcal9owwuIwG1lKH9nNy3C3Ne8PsgELCKmPgiVa5tlISkESYItYzpv 48SUOu/JHjQTw7Mjb4B7y47knYXtmfrKJQXAFYcSTQ3oOvcvbZSLp6fRZZpMUU9rs3m0 Ah3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=vxBY2ZSUzeYmYmoPhkTEI0olKpn4ygQ1IcwezjRcOUs=; b=CXuuLXNIAKBxhv87YCL7x4mLWUVeuhSUDKAw2F2Vvw2cl64BvcCZEmH4AM4tJYOX5g 5ruz6BtSq/78k55FoPl+cWU7OThYJ9fQTL9HcQNdN+3JK7akseATEPlCPrnIOBranEIn 02xhQBFxk5Z6r69ZVpYvyY6ggLmmCe4HQp/9/Xir/C/CN/k+k3Z6/M6vP7jMWKWPoG7T YYAQstNzy04QRz1ino0fBeTMhAP0foiIu4tlltfxInHLR3slrGLuIbMNHdyagYvU9ZdD va+CLblpjrlkyiS89k9LddsbwjCRGsrOnNQmPSFEZoPjipwxWyG8u6HeXt8z92j+jWbd 97fg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si10944648iov.90.2021.09.06.19.58.04; Mon, 06 Sep 2021 19:58:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231880AbhIGCzS (ORCPT + 99 others); Mon, 6 Sep 2021 22:55:18 -0400 Received: from mga03.intel.com ([134.134.136.65]:22295 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbhIGCzQ (ORCPT ); Mon, 6 Sep 2021 22:55:16 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="220137717" X-IronPort-AV: E=Sophos;i="5.85,273,1624345200"; d="scan'208";a="220137717" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 19:54:09 -0700 X-IronPort-AV: E=Sophos;i="5.85,273,1624345200"; d="scan'208";a="469019702" Received: from akleen-mobl1.amr.corp.intel.com (HELO [10.209.106.5]) ([10.209.106.5]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 19:54:09 -0700 Subject: Re: [PATCH] perf dlfilter: Add dlfilter-show-cycles To: Adrian Hunter , Arnaldo Carvalho de Melo Cc: Jiri Olsa , linux-kernel@vger.kernel.org References: <20210906160850.22716-1-adrian.hunter@intel.com> From: Andi Kleen Message-ID: <7bee95a7-fa31-a801-8068-80c63ba6ccfe@linux.intel.com> Date: Mon, 6 Sep 2021 19:54:09 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210906160850.22716-1-adrian.hunter@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 (but maybe Arnaldo will just add that with his usual testing comment). And I guess the linear search could be a problem at some point, but I guess it's good enough for now. Reviewed-by: Andi Kleen