diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-03-21 08:18:52 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-03-21 17:37:37 +0100 |
commit | ebf3c675d7e4ba97568dd6daaa43b1af10046b29 (patch) | |
tree | de6437e78fabe644636cd18a12fba77ca4ece5df /tools/perf/builtin-stat.c | |
parent | perf tools: Get rid of die() calls in trace-data-read.c (diff) | |
download | linux-ebf3c675d7e4ba97568dd6daaa43b1af10046b29.tar.xz linux-ebf3c675d7e4ba97568dd6daaa43b1af10046b29.zip |
perf tools: Cleanup calc_data_size logic
It's for calculating whole trace data size during reading. However
relation functions are called only in this file, no need to
conditionalize it with tricky +1 offset and rename the variable to
more meaningful name like trace_data_size.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1363850332-25297-10-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
0 files changed, 0 insertions, 0 deletions