perf_counter: Add PERF_SAMPLE_PERIOD
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 5 Jun 2009 13:05:43 +0000 (15:05 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Jun 2009 16:07:47 +0000 (18:07 +0200)
commit689802b2d0536e72281dc959ab9cb34fb3c304cf
tree9be866e918391e86eaecd8a05124f86693504d3f
parentac4bcf889469ffbca88f234d3184452886a47905
perf_counter: Add PERF_SAMPLE_PERIOD

In order to allow easy tracking of the period, also provide means of
adding it to the sample data.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c