perf_counter tools: Normalize data using per sample period data
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 10 Jun 2009 19:45:22 +0000 (21:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Jun 2009 00:39:01 +0000 (02:39 +0200)
commitea1900e571d40a3ce60c835c2f21e1fd8c5cb663
treeaca5108ea57e89626e0796f3285985e6a1512f9a
parent66fff22483d8542dfb4d61a28d21277bbde321e8
perf_counter tools: Normalize data using per sample period data

When we use variable period sampling, add the period to the sample
data and use that to normalize the samples.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: 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>
tools/perf/builtin-record.c
tools/perf/builtin-report.c