perf util: Move do_read from session to util
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 18:50:55 +0000 (16:50 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 18:50:55 +0000 (16:50 -0200)
commit1e7972cc5c16e06f258b0278d8c9adfb5aa75c68
treeb73bbe4083bba9e345474fd17082d8a179f93157
parentdaec78a09de3df5fbfbbd167da0304d49d7fcfe5
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>
tools/perf/util/header.c
tools/perf/util/session.c
tools/perf/util/session.h
tools/perf/util/util.c
tools/perf/util/util.h