perf hists: Add a couple of hists stat helper functions
authorNamhyung Kim <namhyung@kernel.org>
Thu, 24 Apr 2014 07:37:26 +0000 (16:37 +0900)
committerJiri Olsa <jolsa@kernel.org>
Thu, 24 Apr 2014 14:31:25 +0000 (16:31 +0200)
commit9283ba9bd77a6940ecad8721429131d773c704b8
treeefa5bfd5cf02d5043ff0e6f3e387576ff208d662
parentae993efc9c6bd109b027d2799a442892067e9230
perf hists: Add a couple of hists stat helper functions

Add hists__{reset,inc}_[filter_]stats() functions to cleanup accesses
to hist stats (for output).  Note that number of samples in the stat
is not handled here since it belongs to the input stage.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-5-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/builtin-diff.c
tools/perf/util/hist.c
tools/perf/util/hist.h