From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751691AbdK3KFl (ORCPT ); Thu, 30 Nov 2017 05:05:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46712 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbdK3KFk (ORCPT ); Thu, 30 Nov 2017 05:05:40 -0500 Date: Thu, 30 Nov 2017 11:05:37 +0100 From: Jiri Olsa To: Jin Yao 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 Subject: Re: [PATCH v4 00/12] perf stat: Enable '--per-thread' on all thread Message-ID: <20171130100537.GA8979@krava> References: <1512043002-26099-1-git-send-email-yao.jin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1512043002-26099-1-git-send-email-yao.jin@linux.intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 30 Nov 2017 10:05:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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