6 #include <subcmd/pager.h> 9 #include <linux/compiler.h> 10 #include <linux/string.h> 12 #define CMD_EXEC_PATH "--exec-path" 13 #define CMD_DEBUGFS_DIR "--debugfs-dir=" 15 #define EXEC_PATH_ENVIRONMENT "PERF_EXEC_PATH" 16 #define PERF_DEBUGFS_ENVIRONMENT "PERF_DEBUGFS_DIR" 17 #define PERF_TRACEFS_ENVIRONMENT "PERF_TRACEFS_DIR" 18 #define PERF_PAGER_ENVIRONMENT "PERF_PAGER" 22 #define alloc_nr(x) (((x)+16)*3/2) 26 return path[0] ==
'/';
int split_cmdline(char *cmdline, const char ***argv)
static int __printf(2, 3)
static int is_absolute_path(const char *path)
char * mkpath(const char *fmt,...) __printf(1