perf evsel: Add prev_raw_count field
authorStephane Eranian <eranian@google.com>
Tue, 29 Jan 2013 11:47:43 +0000 (12:47 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jan 2013 13:36:38 +0000 (10:36 -0300)
commitc7a79c47c683de6979a3e1a96dc723b0606c07ca
treead9a8b84c07b1c97253157dbcfd2ab53a7098375
parent79d824e31692d165f6c7d92bf4d1af0b9d969d76
perf evsel: Add prev_raw_count field

This field will be used by commands which print counter deltas on
regular timer intervals, such as perf stat -I.

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1359460064-3060-2-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/evsel.h