[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a374557e-4347-9d27-84a5-17d22b47650f@linux.intel.com>
Date: Thu, 12 Aug 2021 12:39:04 +0800
From: "Jin, Yao" <yao.jin@...ux.intel.com>
To: Andi Kleen <ak@...ux.intel.com>, acme@...nel.org, jolsa@...nel.org,
peterz@...radead.org, mingo@...hat.com,
alexander.shishkin@...ux.intel.com
Cc: Linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
kan.liang@...el.com, yao.jin@...el.com, rickyman7@...il.com,
Kan Liang <kan.liang@...ux.intel.com>
Subject: Re: [PATCH v4 1/2] perf pmu: Add PMU alias support
On 8/11/2021 9:27 PM, Andi Kleen wrote:
>
>> +
>> + dir = opendir(path);
>> + if (!dir)
>> + return -1;
>
>
> Could we cache/check the opendir result through file_available too?
>
>
> The rest looks good
>
>
> Reviewed-by: Andi Kleen <ak@...ux.intel.com>
>
> -Andi
Thanks Andi! Let me check how to do it.
Thanks
Jin Yao
Powered by blists - more mailing lists