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 3c71138e76722deea0e5eeab8206e20a79124aef..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 so disallow it */
-       if (!strcmp(name, "intel_bts"))
-               return NULL;
-
        /*
         * The pmu data we store & need consists of the pmu
         * type value and format definitions. Load both right