[PATCH v5 4/8] perf pmu: Add function to check if a pmu file exists