summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/stdio/hist.c
diff options
context:
space:
mode:
authorNamhyung Kim2012-10-04 14:49:41 +0200
committerArnaldo Carvalho de Melo2012-10-04 18:34:22 +0200
commitb24c28f794e1821c1bba3ef7e9e948ab77ee00ac (patch)
treeadeffc7cf0b7254f68e6a64640bf06cc677bcd4e /tools/perf/ui/stdio/hist.c
parentperf diff: Removing the total_period argument from output code (diff)
downloadkernel-qcow2-linux-b24c28f794e1821c1bba3ef7e9e948ab77ee00ac.tar.gz
kernel-qcow2-linux-b24c28f794e1821c1bba3ef7e9e948ab77ee00ac.tar.xz
kernel-qcow2-linux-b24c28f794e1821c1bba3ef7e9e948ab77ee00ac.zip
perf hists: Introduce struct he_stat
The struct he_stat is for separating out statistics data of a hist entry. It is required for later changes. It's just a mechanical change and should have no functional differences. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Arun Sharma <asharma@fb.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1349354994-17853-8-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/stdio/hist.c')
-rw-r--r--tools/perf/ui/stdio/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c
index 850c6d293f46..fbd4e32d0743 100644
--- a/tools/perf/ui/stdio/hist.c
+++ b/tools/perf/ui/stdio/hist.c
@@ -271,7 +271,7 @@ static size_t hist_entry_callchain__fprintf(struct hist_entry *he,
{
switch (callchain_param.mode) {
case CHAIN_GRAPH_REL:
- return callchain__fprintf_graph(fp, &he->sorted_chain, he->period,
+ return callchain__fprintf_graph(fp, &he->sorted_chain, he->stat.period,
left_margin);
break;
case CHAIN_GRAPH_ABS: