summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/util/environment.c')
-rw-r--r--kernel/tools/perf/util/environment.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/tools/perf/util/environment.c b/kernel/tools/perf/util/environment.c
new file mode 100644
index 000000000..275b0ee34
--- /dev/null
+++ b/kernel/tools/perf/util/environment.c
@@ -0,0 +1,9 @@
+/*
+ * We put all the perf config variables in this same object
+ * file, so that programs can link against the config parser
+ * without having to link against all the rest of perf.
+ */
+#include "cache.h"
+
+const char *pager_program;
+int pager_use_color = 1;