From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752611AbdLAAY1 (ORCPT ); Thu, 30 Nov 2017 19:24:27 -0500 Received: from mga06.intel.com ([134.134.136.31]:30895 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752339AbdLAAYT (ORCPT ); Thu, 30 Nov 2017 19:24:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,343,1508828400"; d="scan'208";a="7821385" Subject: Re: [PATCH v4 00/12] perf stat: Enable '--per-thread' on all thread 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: <1512043002-26099-1-git-send-email-yao.jin@linux.intel.com> <20171130100537.GA8979@krava> From: "Jin, Yao" Message-ID: Date: Fri, 1 Dec 2017 08:24:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171130100537.GA8979@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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/30/2017 6:05 PM, Jiri Olsa wrote: > On Thu, Nov 30, 2017 at 07:56:30PM +0800, Jin Yao wrote: >> v4: >> --- >> Update according to Jiri's comments. The major modification is: >> >> Move struct perf_stat_config::*stats|stats_num to >> 'perf stat: Allocate shadow stats buffer for threads'. >> >> I also move the code of updating/printing per-thread stats >> from 'perf util: Update and print per-thread shadow stats' >> and 'perf stat: Allocate shadow stats buffer for threads' >> to a new patch 'perf stat: Update or print per-thread stats'. >> That should be more clear for patch reading. >> >> Impacted patch: >> --------------- >> perf util: Define a structure for runtime shadow stats >> perf util: Update and print per-thread shadow stats >> perf stat: Allocate shadow stats buffer for threads >> perf stat: Update or print per-thread stats >> perf stat: Resort '--per-thread' result >> > > Acked-by: Jiri Olsa > > thanks, > jirka > Thanks so much for reviewing the patch! Thanks Jin Yao