diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 12:00:33 -0500 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 12:00:33 -0500 |
| commit | 3d14b5beba35250c548d3851a2b84fce742d8311 (patch) | |
| tree | 065e3d93c3fcbc5ee4c44fa78662393cddbdf6de /tools/perf/util/cache.h | |
| parent | 0719dc341389882cc834ed18fc9b7fc6006b2b85 (diff) | |
| parent | 1bf8e6219552d5dd27012d567ec8c4bb9c2d86b4 (diff) | |
Merge branch 'sa1100' into devel
Diffstat (limited to 'tools/perf/util/cache.h')
| -rw-r--r-- | tools/perf/util/cache.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h index 6f8ea9d210b6..918eb376abe3 100644 --- a/tools/perf/util/cache.h +++ b/tools/perf/util/cache.h | |||
| @@ -1,10 +1,15 @@ | |||
| 1 | #ifndef CACHE_H | 1 | #ifndef __PERF_CACHE_H |
| 2 | #define CACHE_H | 2 | #define __PERF_CACHE_H |
| 3 | 3 | ||
| 4 | #include "util.h" | 4 | #include "util.h" |
| 5 | #include "strbuf.h" | 5 | #include "strbuf.h" |
| 6 | #include "../perf.h" | 6 | #include "../perf.h" |
| 7 | 7 | ||
| 8 | #define CMD_EXEC_PATH "--exec-path" | ||
| 9 | #define CMD_PERF_DIR "--perf-dir=" | ||
| 10 | #define CMD_WORK_TREE "--work-tree=" | ||
| 11 | #define CMD_DEBUGFS_DIR "--debugfs-dir=" | ||
| 12 | |||
| 8 | #define PERF_DIR_ENVIRONMENT "PERF_DIR" | 13 | #define PERF_DIR_ENVIRONMENT "PERF_DIR" |
| 9 | #define PERF_WORK_TREE_ENVIRONMENT "PERF_WORK_TREE" | 14 | #define PERF_WORK_TREE_ENVIRONMENT "PERF_WORK_TREE" |
| 10 | #define DEFAULT_PERF_DIR_ENVIRONMENT ".perf" | 15 | #define DEFAULT_PERF_DIR_ENVIRONMENT ".perf" |
| @@ -117,4 +122,4 @@ extern char *perf_pathdup(const char *fmt, ...) | |||
| 117 | 122 | ||
| 118 | extern size_t strlcpy(char *dest, const char *src, size_t size); | 123 | extern size_t strlcpy(char *dest, const char *src, size_t size); |
| 119 | 124 | ||
| 120 | #endif /* CACHE_H */ | 125 | #endif /* __PERF_CACHE_H */ |
