aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/environment.c')
-rw-r--r--tools/perf/util/environment.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/util/environment.c b/tools/perf/util/environment.c
new file mode 100644
index 00000000000..275b0ee345f
--- /dev/null
+++ b/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;