diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-03-25 12:30:22 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 09:30:32 +0200 |
commit | b9cacc7bf193df16532bfa7d7ca77fe50fc3c2e6 (patch) | |
tree | 4a8e4df2506876fe28e18c1e7b6e3ff21d0a9c6a /include/linux | |
parent | c7138f37f905bb7987b1f9f5a8ee73667db39f25 (diff) |
perf_counter: more elaborate write API
Provide a begin, copy, end interface to the output buffer.
begin() reserves the space,
copy() copies the data over, considering page boundaries,
end() finalizes the event and does the wakeup.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Orig-LKML-Reference: <20090325113316.740550870@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions