Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680502 > unrolled thread

Re: [PATCH V2 2/2] perf tools: always set no branch for dummy event in PT

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2017-07-03 19:00 +0200
Last post2017-07-03 19:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V2 2/2] perf tools: always set no branch for dummy event  in PT Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-07-03 19:00 +0200

#1680502 — Re: [PATCH V2 2/2] perf tools: always set no branch for dummy event in PT

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-07-03 19:00 +0200
SubjectRe: [PATCH V2 2/2] perf tools: always set no branch for dummy event in PT
Message-ID<tZcRB-47B-33@gated-at.bofh.it>
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 <kan.liang@intel.com>
> > 
> > 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 <kan.liang@intel.com>
> 
> for the patchset:
> 
> Acked-by: Jiri Olsa <jolsa@kernel.org>

Thanks, applied.

- Arnaldo

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web