perf record: Move perf_mmap__write_tail to perf.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Jan 2011 19:11:53 +0000 (17:11 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Jan 2011 21:56:29 +0000 (19:56 -0200)
commit115d2d8963a426670ac3ce983fc4c4e001703943
treec37115abbf95a7c68b0a99b1cf60e0ee0e48b7ea
parent744bd8aa3c8b43447f689a27872fa95e700b8a4f
perf record: Move perf_mmap__write_tail to perf.h

Close to perf_mmap__read_head() and the perf_mmap struct definition.
This is useful for any recorder, and we will need it in 'perf test'.

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/builtin-record.c
tools/perf/perf.h