[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180917085848.GQ24124@hirez.programming.kicks-ass.net>
Date: Mon, 17 Sep 2018 10:58:48 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Reinette Chatre <reinette.chatre@...el.com>
Cc: tglx@...utronix.de, fenghua.yu@...el.com, tony.luck@...el.com,
mingo@...hat.com, acme@...nel.org, gavin.hindman@...el.com,
jithu.joseph@...el.com, dave.hansen@...el.com, hpa@...or.com,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3 5/6] x86/intel_rdt: Use perf infrastructure for
measurements
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.
Powered by blists - more mailing lists