PERF_PMU_TYPE_TOOL
case PERF_PMU_TYPE_TOOL:
case PERF_PMU_TYPE_TOOL: return true;
if (attr->type != PERF_PMU_TYPE_TOOL)
if (type == PERF_PMU_TYPE_TOOL)
if (perf_pmu__init(tool, PERF_PMU_TYPE_TOOL, "tool") != 0) {
return pmu && pmu->type == PERF_PMU_TYPE_TOOL;