summaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/subcmd-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/subcmd/subcmd-config.h')
-rw-r--r--tools/lib/subcmd/subcmd-config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/lib/subcmd/subcmd-config.h b/tools/lib/subcmd/subcmd-config.h
new file mode 100644
index 000000000..9024dc17d
--- /dev/null
+++ b/tools/lib/subcmd/subcmd-config.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __PERF_SUBCMD_CONFIG_H
+#define __PERF_SUBCMD_CONFIG_H
+
+struct subcmd_config {
+ const char *exec_name;
+ const char *prefix;
+ const char *exec_path;
+ const char *exec_path_env;
+ const char *pager_env;
+};
+
+extern struct subcmd_config subcmd_config;
+
+#endif /* __PERF_SUBCMD_CONFIG_H */