perf evlist: Factor out a function to propagate maps for a single evsel
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / pmu.c
index 84cad054d6f798bcc166402c62ebc89f29b4acc0..89c91a1a67e760fc5b82198179f9ecdc4b337df5 100644 (file)
@@ -462,10 +462,6 @@ static struct perf_pmu *pmu_lookup(const char *name)
        LIST_HEAD(aliases);
        __u32 type;
 
-       /* No support for intel_bts or intel_pt so disallow them */
-       if (!strcmp(name, "intel_bts") || !strcmp(name, "intel_pt"))
-               return NULL;
-
        /*
         * The pmu data we store & need consists of the pmu
         * type value and format definitions. Load both right