Re: [PATCH V3 5/6] x86/intel_rdt: Use perf infrastructure for measurements

From: Peter Zijlstra
Date: Mon Sep 17 2018 - 04:58:59 EST


On Tue, Sep 11, 2018 at 10:14:36AM -0700, Reinette Chatre wrote:
> +static int measure_l2_residency(void *_plr)
> +{

> + measure_residency_fn(&perf_miss_attr, &perf_hit_attr, plr, &counts);

> +}
> +
> +static int measure_l3_residency(void *_plr)
> +{

> + measure_residency_fn(&perf_miss_attr, &perf_hit_attr, plr, &counts);

Not sure it's important, but both sites loose the error return.