diff options
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index c8f362d..a535359 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -128,8 +128,6 @@ void put_tracing_file(char *file); #endif #endif -#define PERF_GTK_DSO "libperf-gtk.so" - /* General helper functions */ extern void usage(const char *err) NORETURN; extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1, 2))); @@ -243,7 +241,6 @@ static inline int sane_case(int x, int high) int mkdir_p(char *path, mode_t mode); int copyfile(const char *from, const char *to); -int copyfile_mode(const char *from, const char *to, mode_t mode); s64 perf_atoll(const char *str); char **argv_split(const char *str, int *argcp); @@ -273,13 +270,6 @@ bool is_power_of_2(unsigned long n) return (n != 0 && ((n & (n - 1)) == 0)); } -static inline unsigned next_pow2(unsigned x) -{ - if (!x) - return 1; - return 1ULL << (32 - __builtin_clz(x - 1)); -} - size_t hex_width(u64 v); int hex2u64(const char *ptr, u64 *val); @@ -291,20 +281,4 @@ void dump_stack(void); extern unsigned int page_size; void get_term_dimensions(struct winsize *ws); - -struct parse_tag { - char tag; - int mult; -}; - -unsigned long parse_tag_value(const char *str, struct parse_tag *tags); - -#define SRCLINE_UNKNOWN ((char *) "??:0") - -struct dso; - -char *get_srcline(struct dso *dso, unsigned long addr); -void free_srcline(char *srcline); - -int filename__read_int(const char *filename, int *value); #endif /* GIT_COMPAT_UTIL_H */ |