Go to the documentation of this file.
9 #define CMD_EXEC_PATH "--exec-path"
10 #define CMD_PERF_DIR "--perf-dir="
11 #define CMD_WORK_TREE "--work-tree="
12 #define CMD_DEBUGFS_DIR "--debugfs-dir="
14 #define PERF_DIR_ENVIRONMENT "PERF_DIR"
15 #define PERF_WORK_TREE_ENVIRONMENT "PERF_WORK_TREE"
16 #define EXEC_PATH_ENVIRONMENT "PERF_EXEC_PATH"
17 #define DEFAULT_PERF_DIR_ENVIRONMENT ".perf"
18 #define PERF_DEBUGFS_ENVIRONMENT "PERF_DEBUGFS_DIR"
36 #if defined(NEWT_SUPPORT) || defined(GTK2_SUPPORT)
66 if (fallback_to_pager)
75 #define alloc_nr(x) (((x)+16)*3/2)
84 #define ALLOC_GROW(x, nr, alloc) \
87 if (alloc_nr(alloc) < (nr)) \
90 alloc = alloc_nr(alloc); \
91 x = xrealloc((x), alloc * sizeof(*(x))); \
96 static inline int is_absolute_path(
const char *
path)
98 return path[0] ==
'/';