]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9159bca52f55a651d85b0b0798431a79e5256744
treeefa5bfd5cf02d5043ff0e6f3e387576ff208d662
parentda82111c7a9f122a745e7b1ebdeeb3c6ba82f194
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