Re: [PATCH v4 1/2] perf pmu: Add PMU alias support

From: Jin, Yao
Date: Thu Aug 12 2021 - 00:39:16 EST




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@xxxxxxxxxxxxxxx>

-Andi

Thanks Andi! Let me check how to do it.

Thanks
Jin Yao