diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 23:38:33 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 18:43:26 +0200 |
commit | 56e2e05644a9494e8ba3165182dcdf43d40cc6a2 (patch) | |
tree | 3e795cfb8e9a01c3350fc1266a88099abd004bc2 /tools/perf/util/util.h | |
parent | perf tools: Add compress.h for the *_decompress_to_file() headers (diff) | |
download | linux-56e2e05644a9494e8ba3165182dcdf43d40cc6a2.tar.xz linux-56e2e05644a9494e8ba3165182dcdf43d40cc6a2.zip |
perf callchain: Move callchain specific routines from util.[ch]
Where they belong, no point in leaving those in the generic "util"
files.
Link: http://lkml.kernel.org/n/tip-ljx3iiip1hlfa7a7apjem7ph@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 5dea8a96cf84..fcad17ce5c19 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -17,7 +17,6 @@ #include <stdlib.h> #include <stdarg.h> #include <string.h> -#include <limits.h> #include <sys/param.h> #include <sys/types.h> #include <assert.h> @@ -25,7 +24,6 @@ #include <poll.h> #include <sys/socket.h> #include <sys/ioctl.h> -#include <linux/kernel.h> #include <linux/types.h> extern char buildid_dir[]; @@ -99,8 +97,6 @@ void mem_bswap_32(void *src, int byte_size); bool find_process(const char *name); -int get_stack_size(const char *str, unsigned long *_size); - int fetch_kernel_version(unsigned int *puint, char *str, size_t str_sz); #define KVER_VERSION(x) (((x) >> 16) & 0xff) |