lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 10/18] perf/x86: add support for PEBS Precise Store
>  	u64 sample_type;
> - int fll;
> + int fll, fst;
>
> if (!intel_pmu_save_and_restart(event))
> return;
>
> fll = event->hw.flags & PERF_X86_EVENT_PEBS_LDLAT;
> + fst = event->hw.flags & PERF_X86_EVENT_PEBS_ST;
>
> perf_sample_data_init(&data, 0, event->hw.last_period);
>
> @@ -672,7 +715,7 @@ static void __intel_pmu_pebs_event(struct perf_event *event,
> /*
> * if PEBS-LL or PreciseStore
> */
> - if (fll) {
> + if (fll || fst) {

Ok I understand now why the other patch looked so strange.
it makes sense and you can disregard those comments.

Looks good

Acked-by: Andi Kleen <ak@linux.intel.com>

-Andi


\
 
 \ /
  Last update: 2013-01-19 01:01    [W:0.200 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site