Merge branch 'for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / config.c
index e18f653cd7db80f907e1a7ae00ccf6e4d6438988..2e452ac1353d0ab8f6797d6ac9cd7bce94edf661 100644 (file)
@@ -12,6 +12,7 @@
 #include "cache.h"
 #include "exec_cmd.h"
 #include "util/hist.h"  /* perf_hist_config */
+#include "util/llvm-utils.h"   /* perf_llvm_config */
 
 #define MAXNAME (256)
 
@@ -408,6 +409,9 @@ int perf_default_config(const char *var, const char *value,
        if (!prefixcmp(var, "call-graph."))
                return perf_callchain_config(var, value);
 
+       if (!prefixcmp(var, "llvm."))
+               return perf_llvm_config(var, value);
+
        /* Add other config variables here. */
        return 0;
 }