perf: Add perf_event_count()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 21 May 2010 12:43:12 +0000 (14:43 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jun 2010 09:12:36 +0000 (11:12 +0200)
commitb5e58793c7a8ec35e72ea6ec6c353499dd189809
treeb416db400eb1f67c0b078bd15d60aa9a561d7edf
parent1996bda2a42480c275656233e631ee0966574be4
perf: Add perf_event_count()

Create a helper function for those sites that want to read the event count.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c