perf stat: Introduce reset_shadow_stats function
authorJiri Olsa <jolsa@kernel.org>
Wed, 3 Jun 2015 14:25:55 +0000 (16:25 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 8 Jun 2015 13:30:30 +0000 (10:30 -0300)
commit1eda3b2144391e1ec9e1870bb32d5216ac7b384c
treead323f99acf791a0bc41acda059a67ed6d001ac6
parent3e99e2f5e78e601591dbcf777c67a84aa9ea2ae5
perf stat: Introduce reset_shadow_stats function

Move shadow counters reset code into separate function
as preparation for moving it into its own object.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1433341559-31848-6-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c