perf hists: Add support for accumulated stat of hist entry
authorNamhyung Kim <namhyung@kernel.org>
Tue, 11 Sep 2012 04:15:07 +0000 (13:15 +0900)
committerJiri Olsa <jolsa@kernel.org>
Sun, 1 Jun 2014 12:34:56 +0000 (14:34 +0200)
commitf8be1c8c48c8469d1ce95ccdc77b1e2c6a29700e
treef7d8f836cba20bc69038f271268a5b84dba3ac6f
parent69bcb019fc809874f518559c8e5b0a90176f0532
perf hists: Add support for accumulated stat of hist entry

Maintain accumulated stat information in hist_entry->stat_acc if
symbol_conf.cumulate_callchain is set.  Fields in ->stat_acc have same
vaules initially, and will be updated as callchain is processed later.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arun Sharma <asharma@fb.com>
Tested-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1401335910-16832-4-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/hist.c
tools/perf/util/sort.h
tools/perf/util/symbol.h