summaryrefslogtreecommitdiff
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-25 21:30:47 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-25 21:30:47 +0300
commit5ab8c689f7c0c97e98b8014b7f0ede386bef5aaf (patch)
tree1f0a6ccf61b7c6bf05ba51bc0673c0bf1f38dd49 /tools/perf/util/util.h
parent6db81643fe41f51cf9f6fd10558b8b323d9198ba (diff)
downloadlinux-5ab8c689f7c0c97e98b8014b7f0ede386bef5aaf.tar.xz
perf tools: Move event prototypes from util.h to event.h
More needs to be done to have the actual functions and variables in a smaller .c file that can then be included in the python binding, avoiding dragging more stuff into it. Link: http://lkml.kernel.org/n/tip-uecxz7cqkssouj7tlxrkqpl4@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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index e7b6f36d8904..f87b8948efdc 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -56,17 +56,11 @@ int copyfile_offset(int fromfd, loff_t from_ofs, int tofd, loff_t to_ofs, u64 si
ssize_t readn(int fd, void *buf, size_t n);
ssize_t writen(int fd, void *buf, size_t n);
-struct perf_event_attr;
-
-void event_attr_init(struct perf_event_attr *attr);
-
size_t hex_width(u64 v);
int hex2u64(const char *ptr, u64 *val);
extern unsigned int page_size;
extern int cacheline_size;
-extern int sysctl_perf_event_max_stack;
-extern int sysctl_perf_event_max_contexts_per_stack;
struct parse_tag {
char tag;
@@ -75,8 +69,6 @@ struct parse_tag {
unsigned long parse_tag_value(const char *str, struct parse_tag *tags);
-int perf_event_paranoid(void);
-
void mem_bswap_64(void *src, int byte_size);
void mem_bswap_32(void *src, int byte_size);