diff options
author | Namhyung Kim <namhyung@kernel.org> | 2012-09-11 00:15:07 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-06-01 08:34:56 -0400 |
commit | f8be1c8c48c8469d1ce95ccdc77b1e2c6a29700e (patch) | |
tree | f7d8f836cba20bc69038f271268a5b84dba3ac6f /tools/perf/util/sort.h | |
parent | 69bcb019fc809874f518559c8e5b0a90176f0532 (diff) |
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>
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r-- | tools/perf/util/sort.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 5f38d925e92f..c9ffa031becd 100644 --- a/tools/perf/util/sort.h +++ b/tools/perf/util/sort.h | |||
@@ -82,6 +82,7 @@ struct hist_entry { | |||
82 | struct list_head head; | 82 | struct list_head head; |
83 | } pairs; | 83 | } pairs; |
84 | struct he_stat stat; | 84 | struct he_stat stat; |
85 | struct he_stat *stat_acc; | ||
85 | struct map_symbol ms; | 86 | struct map_symbol ms; |
86 | struct thread *thread; | 87 | struct thread *thread; |
87 | struct comm *comm; | 88 | struct comm *comm; |