diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-01-10 13:12:57 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-21 21:15:57 +0300 |
commit | 4f5a473d79c755d2e325c9a8dab01804d5416923 (patch) | |
tree | 4009ac07e924cb20bdbeb1f36a50ab9f4c05988b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7ba4da100261482afcb693a1b39e483c9c03aba2 (diff) | |
download | linux-4f5a473d79c755d2e325c9a8dab01804d5416923.tar.xz |
perf session: Get rid of file_size variable
It's not needed and removing it makes the code a little simpler for the
upcoming changes.
It's safe to replace file_size with data_size, because the
perf_data__size() value is never smaller than data_offset + data_size.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190110101301.6196-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions