diff options
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 2732fad03908..a53535949043 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -80,6 +80,9 @@ extern char buildid_dir[]; | |||
80 | extern char tracing_events_path[]; | 80 | extern char tracing_events_path[]; |
81 | extern void perf_debugfs_set_path(const char *mountpoint); | 81 | extern void perf_debugfs_set_path(const char *mountpoint); |
82 | const char *perf_debugfs_mount(const char *mountpoint); | 82 | const char *perf_debugfs_mount(const char *mountpoint); |
83 | const char *find_tracing_dir(void); | ||
84 | char *get_tracing_file(const char *name); | ||
85 | void put_tracing_file(char *file); | ||
83 | 86 | ||
84 | /* On most systems <limits.h> would have given us this, but | 87 | /* On most systems <limits.h> would have given us this, but |
85 | * not on some systems (e.g. GNU/Hurd). | 88 | * not on some systems (e.g. GNU/Hurd). |
@@ -205,6 +208,8 @@ static inline int has_extension(const char *filename, const char *ext) | |||
205 | #define NSEC_PER_MSEC 1000000L | 208 | #define NSEC_PER_MSEC 1000000L |
206 | #endif | 209 | #endif |
207 | 210 | ||
211 | int parse_nsec_time(const char *str, u64 *ptime); | ||
212 | |||
208 | extern unsigned char sane_ctype[256]; | 213 | extern unsigned char sane_ctype[256]; |
209 | #define GIT_SPACE 0x01 | 214 | #define GIT_SPACE 0x01 |
210 | #define GIT_DIGIT 0x02 | 215 | #define GIT_DIGIT 0x02 |