Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp125587ybg; Wed, 18 Mar 2020 18:50:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuclH9ffhsrMF1UvhcYtwfCVj7jGqi2pgkG7YnSZFzcoW4KpmhDULEBhJXfkQQ+HJoXDzTx X-Received: by 2002:aca:fc0f:: with SMTP id a15mr720691oii.68.1584582633603; Wed, 18 Mar 2020 18:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584582633; cv=none; d=google.com; s=arc-20160816; b=eIG4noId6YlPpqceIwT/8czuVLtdzdfB/jcrfpSA8htyLrN0ADNL6fTu58b2kB4RlA qJe22NMSm83oVBvUtKmFm2Nw6Uuu9bwfRvrlcXZWaAox0rv4TVLOWIoBt7DWRXNjnCUe Zp/bzY62nTSfW0gH9rfje//m9VOobjuFeZlxNfAzykUcedD6oFu83HKpWt6HW0CGuuvs ltWGIReB+V1b8//clcB+dfmKlIRAPhtMoeKdMgT3/8VZawyu73ZY/sHipgum7B/Jfu3B 8nGmcTtJksfj91SUC7C/IvirybpgWOrtK8YtTwC1X6yW2HBbU2Jn0B899kMmy40mlLbr /1Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=8xyGLXJjGk5GEeO5o+VYOpipMmy5ctuauBBZtgdpIVo=; b=RhYVMDVMxL4Vi8SENYoyKzLByd+DEdxSksgIAfp4QD9yoVyncg7/0WhXS2Atl+G//p 0S84tnA2wcEButiplS+xcSCiOF3CTBRn00m9qF96U5oIuL2maPwgd3j/ysMVILF21O9Z VbOSfJf0joYeDJx0Ee+5PQoICPn7ji+7xekTUIOe/sMGaM0nhfo1xGvcX/tI9cAFOp+J dC9urG8A7MQ1ozLwtUQCCOtQHW+/ZtYUhHcfkkmZgTJ5x7pXzD8887VanqStJJ4/aVgs Hf4V2siR33e+8Q8g8P1BodRP5iZzv429F6rXdq2rn8Jq2X/rVjYcMHFuvYNLxBQfaC3Y R7bw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t83si239478oig.239.2020.03.18.18.50.21; Wed, 18 Mar 2020 18:50:33 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727069AbgCSBtB (ORCPT + 99 others); Wed, 18 Mar 2020 21:49:01 -0400 Received: from mga04.intel.com ([192.55.52.120]:43430 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726623AbgCSBtB (ORCPT ); Wed, 18 Mar 2020 21:49:01 -0400 IronPort-SDR: AMf0luTHTamsjyS2d3T+Y6LN1F8r15hm+azEra5eIRNhnYl5C4yNH0IKoRHegsn+r3B7CPF1lX JQXh2esGKAFA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2020 18:49:01 -0700 IronPort-SDR: 7f2KcNiqvaL1CzV3Z/AlGEcOt/UTohRAd3nYnBZ8ejaUtn8SmPmJzY+1Vi3w1hvBDIGqKTt8S+ fJRG5oR7AZQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,569,1574150400"; d="scan'208";a="236803405" Received: from yjin15-mobl1.ccr.corp.intel.com (HELO [10.238.4.151]) ([10.238.4.151]) by fmsmga007.fm.intel.com with ESMTP; 18 Mar 2020 18:48:57 -0700 Subject: Re: [PATCH v2 00/14] perf: Stream comparison To: Jiri Olsa Cc: acme@kernel.org, jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com References: <20200313071118.11983-1-yao.jin@linux.intel.com> <20200318101915.GB821557@krava> From: "Jin, Yao" Message-ID: Date: Thu, 19 Mar 2020 09:48:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200318101915.GB821557@krava> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/18/2020 6:19 PM, Jiri Olsa wrote: > On Fri, Mar 13, 2020 at 03:11:04PM +0800, Jin Yao wrote: > > SNIP > >> >> v2: >> --- >> Refine the codes for following patches: >> perf util: Create source line mapping table >> perf util: Create streams for managing top N hottest callchains >> perf util: Calculate the sum of all streams hits >> perf util: Add new block info functions for top N hot blocks comparison >> >> Jin Yao (14): >> perf util: Create source line mapping table >> perf util: Create streams for managing top N hottest callchains >> perf util: Return per-event callchain streams >> perf util: Compare two streams >> perf util: Calculate the sum of all streams hits >> perf util: Report hot streams >> perf diff: Support hot streams comparison >> perf util: Add new block info functions for top N hot blocks >> comparison >> perf util: Add new block info fmts for showing hot blocks comparison >> perf util: Enable block source line comparison >> perf diff: support hot blocks comparison >> perf util: Filter out streams by name of changed functions >> perf util: Filter out blocks by name of changed functions >> perf diff: Filter out streams by changed functions > > I can't apply this on latest perf/core, do you have it in git tree branch? > > thanks, > jirka > Not having a git tree branch. :( Anyway let me rebase to perf/core Thanks Jin Yao >> >> tools/perf/Documentation/perf-diff.txt | 19 + >> tools/perf/builtin-diff.c | 324 ++++++++++++--- >> tools/perf/util/Build | 1 + >> tools/perf/util/block-info.c | 433 ++++++++++++++++++- >> tools/perf/util/block-info.h | 38 +- >> tools/perf/util/callchain.c | 517 +++++++++++++++++++++++ >> tools/perf/util/callchain.h | 34 ++ >> tools/perf/util/srclist.c | 555 +++++++++++++++++++++++++ >> tools/perf/util/srclist.h | 74 ++++ >> 9 files changed, 1935 insertions(+), 60 deletions(-) >> create mode 100644 tools/perf/util/srclist.c >> create mode 100644 tools/perf/util/srclist.h >> >> -- >> 2.17.1 >> >