[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <293158f0-d36f-4569-bad3-6be1db938457@intel.com>
Date: Wed, 5 Mar 2025 08:11:40 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Adrian Hunter <adrian.hunter@...el.com>, Jiri Olsa <olsajiri@...il.com>
Cc: lirongqing <lirongqing@...du.com>, peterz@...radead.org,
mingo@...hat.com, acme@...nel.org, namhyung@...nel.org,
mark.rutland@....com, alexander.shishkin@...ux.intel.com,
irogers@...gle.com, kan.liang@...ux.intel.com, tglx@...utronix.de,
bp@...en8.de, dave.hansen@...ux.intel.com, x86@...nel.org, hpa@...or.com,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf/x86/intel/bts: allocate bts_ctx only if necessary
Jiri, thanks for the report!
On 3/5/25 06:58, Adrian Hunter wrote:
> It looks like there are 3 functions affected:
>
> intel_bts_enable_local()
> intel_bts_disable_local()
> intel_bts_interrupt()
>
> Perhaps make them static calls?
That, or a few:
if (!bts_ctx)
return;
if you're not feeling as fancy would do.
Would someone be interested in sending an actual tested patch, ideally
the patch author of the regression? <hint, hint>
Powered by blists - more mailing lists