diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-03 13:50:55 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-03 13:50:55 -0500 |
commit | 1e7972cc5c16e06f258b0278d8c9adfb5aa75c68 (patch) | |
tree | b73bbe4083bba9e345474fd17082d8a179f93157 /tools/perf/util/session.h | |
parent | daec78a09de3df5fbfbbd167da0304d49d7fcfe5 (diff) |
perf util: Move do_read from session to util
Not really something to be exported from session.c. Rename it to
'readn' as others did in the past.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index ffe4b98db8f0..decd83f274fd 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -109,7 +109,6 @@ void mem_bswap_64(void *src, int byte_size); | |||
109 | 109 | ||
110 | int perf_session__create_kernel_maps(struct perf_session *self); | 110 | int perf_session__create_kernel_maps(struct perf_session *self); |
111 | 111 | ||
112 | int do_read(int fd, void *buf, size_t size); | ||
113 | void perf_session__update_sample_type(struct perf_session *self); | 112 | void perf_session__update_sample_type(struct perf_session *self); |
114 | void perf_session__set_sample_id_all(struct perf_session *session, bool value); | 113 | void perf_session__set_sample_id_all(struct perf_session *session, bool value); |
115 | void perf_session__set_sample_type(struct perf_session *session, u64 type); | 114 | void perf_session__set_sample_type(struct perf_session *session, u64 type); |