perf_counter: small cleanup of the output routines
commit78d613eb129fc4edf0e2cabfcc6a4c5285482d21
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 30 Mar 2009 17:07:11 +0000 (30 19:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:41 +0000 (6 09:30 +0200)
tree95c3b30168f3fc5444a9ccdaf4afa6c23cb3b0c1
parent31f004df8d14212f0a8a2fb12a8ed44a3d80e2fb
perf_counter: small cleanup of the output routines

Move the nmi argument to the _begin() function, so that _end() only needs the
handle. This allows the _begin() function to generate a wakeup on event loss.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Paul Mackerras <paulus@samba.org>
Orig-LKML-Reference: <20090330171023.959404268@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c