lkml.org 
[lkml]   [2012]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 04/34] perf, x86: Support the TSX intx/intx_cp qualifiers
From
Date
On Thu, 2012-10-18 at 16:19 -0700, Andi Kleen wrote:
> @@ -826,7 +827,8 @@ static inline bool intel_pmu_needs_lbr_smpl(struct perf_event *event)
> return true;
>
> /* implicit branch sampling to correct PEBS skid */
> - if (x86_pmu.intel_cap.pebs_trap && event->attr.precise_ip > 1)
> + if (x86_pmu.intel_cap.pebs_trap && event->attr.precise_ip > 1 &&
> + x86_pmu.intel_cap.pebs_format < 2)
> return true;
>
> return false;

This seems unrelated to TSX, I suppose it belongs in the previous patch?


\
 
 \ /
  Last update: 2012-10-23 14:41    [W:0.497 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site