summaryrefslogtreecommitdiff
path: root/tools/perf/util/color.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-12-22 04:44:09 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-01-21 16:24:32 (GMT)
commit590cd344e2099c7b040b29d3a711b4c26358def5 (patch)
treee8b6b9f87901c33a1418f54fac043b39ddc57c7b /tools/perf/util/color.c
parent956b65e1a7a6f10e630ee7f2f2f9de3aab001527 (diff)
downloadlinux-590cd344e2099c7b040b29d3a711b4c26358def5.tar.xz
perf report: Get rid of report__inc_stat()
The report__inc_stat() function collects the number of hist entries in the session in order to calculate the max size of the progess bar. It'd be better if it does it during the addition of hist entries so that it can be used by other places too. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1419223455-4362-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/color.c')
0 files changed, 0 insertions, 0 deletions