From: Peter Zijlstra Date: Wed, 25 Mar 2009 11:30:22 +0000 (+0100) Subject: perf_counter: more elaborate write API X-Git-Tag: v2.6.31-rc1~383^2~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9cacc7bf193df16532bfa7d7ca77fe50fc3c2e6;p=pandora-kernel.git 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 Cc: Paul Mackerras Cc: Mike Galbraith Cc: Arjan van de Ven Cc: Wu Fengguang Orig-LKML-Reference: <20090325113316.740550870@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed