From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750941AbeAPOKF (ORCPT + 1 other); Tue, 16 Jan 2018 09:10:05 -0500 Received: from mga09.intel.com ([134.134.136.24]:32152 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbeAPOKE (ORCPT ); Tue, 16 Jan 2018 09:10:04 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,368,1511856000"; d="scan'208";a="11358367" Subject: Re: [PATCH] perf stat: Ignore error thread when enabling system-wide --per-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: <1516117388-10120-1-git-send-email-yao.jin@linux.intel.com> <20180116125132.GD26643@krava> <1189ec53-0d3b-c59c-63f0-4c4ad0d72405@linux.intel.com> <20180116131743.GA17752@krava> From: "Jin, Yao" Message-ID: <33a5f180-0ba0-b3c5-3b5d-f64a3a289a51@linux.intel.com> Date: Tue, 16 Jan 2018 22:10:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180116131743.GA17752@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 Return-Path: On 1/16/2018 9:17 PM, Jiri Olsa wrote: > On Tue, Jan 16, 2018 at 09:06:09PM +0800, Jin, Yao wrote: >> Just tested. But looks it's not OK for '--per-thread' case. > > yea, I haven't tested much.. might need soem tweaking, > but my point was that it could be doable on one place > instead of introducing another if possible > > jirka > Yes, I understand. It'd better we can put the code to more common places. Actually I used the similar patch as yours at first. While I found it didn't work for the case of system-wide '--per-thread' then I developed current one. Thanks Jin Yao