Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754262AbdGCQ70 (ORCPT ); Mon, 3 Jul 2017 12:59:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:57546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbdGCQ7Z (ORCPT ); Mon, 3 Jul 2017 12:59:25 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B09C22BDA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Mon, 3 Jul 2017 13:59:22 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: kan.liang@intel.com, linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, adrian.hunter@intel.com, 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 Message-ID: <20170703165922.GD16278@kernel.org> References: <20170630141656.1626-1-kan.liang@intel.com> <20170630141656.1626-2-kan.liang@intel.com> <20170703075832.GA10105@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170703075832.GA10105@krava> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 29 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. - Arnaldo