Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753528AbdGSO2d convert rfc822-to-8bit (ORCPT ); Wed, 19 Jul 2017 10:28:33 -0400 Received: from mga11.intel.com ([192.55.52.93]:43411 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752045AbdGSO2c (ORCPT ); Wed, 19 Jul 2017 10:28:32 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,381,1496127600"; d="scan'208";a="1197242582" From: "Liang, Kan" To: Arnaldo Carvalho de Melo , Jiri Olsa CC: "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "peterz@infradead.org" , "Hunter, Adrian" , "alexander.shishkin@linux.intel.com" , "ak@linux.intel.com" Subject: RE: [PATCH V2 2/2] perf tools: always set no branch for dummy event in PT Thread-Topic: [PATCH V2 2/2] perf tools: always set no branch for dummy event in PT Thread-Index: AQHS8aup65FzEf6dcEC4r6HtUFk0b6JBOuAAgACXGwCAGX/f0A== Date: Wed, 19 Jul 2017 14:28:26 +0000 Message-ID: <37D7C6CF3E00A74B8858931C1DB2F0775371EBA9@SHSMSX103.ccr.corp.intel.com> References: <20170630141656.1626-1-kan.liang@intel.com> <20170630141656.1626-2-kan.liang@intel.com> <20170703075832.GA10105@krava> <20170703165922.GD16278@kernel.org> In-Reply-To: <20170703165922.GD16278@kernel.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGZiOTY5NDMtNTFkYi00MDljLWEwMjYtNTNiYjk0NDg2MGZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InpSQ1MzNlc3VDgrVzlCQW9rRVpGOVhXWXdENzhmR1JHTHJobXZPSGNFWVE9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1074 Lines: 46 > Em Mon, Jul 03, 2017 at 09:58:32AM +0200, Jiri Olsa escreveu: > > On Fri, Jun 30, 2017 at 10:16:56AM -0400, kan.liang@intel.com wrote: > > > From: Kan Liang > > > > > > An earlier kernel patch allowed enabling PT and LBR at the same time > > > on Goldmont. > > > > > > commit ccbebba4c6bf ("perf/x86/intel/pt: Bypass PT vs. LBR > > > exclusivity if the core supports it") > > > > > > However, users still cannot use Intel PT and LBRs simultaneously. > > > $ sudo perf record -e cycles,intel_pt//u -b -- sleep 1 > > > Error: > > > PMU Hardware doesn't support sampling/overflow-interrupts. > > > > > > PT implicitly adds dummy event in perf tool. dummy event is software > > > event which doesn't support LBR. > > > > > > Always setting no branch for dummy event in Intel PT. > > > > > > Signed-off-by: Kan Liang > > > > for the patchset: > > > > Acked-by: Jiri Olsa > > Thanks, applied. > Hi Arnaldo, The patch series looks miss the latest update. Could you please have a look? Thanks, Kan