perf evlist: Remove stale mmap read for backward
authorKan Liang <[email protected]>
Thu, 18 Jan 2018 21:26:16 +0000 (13:26 -0800)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 15 Feb 2018 12:50:53 +0000 (09:50 -0300)
commit6888ff66c44ffa3077ed69e978902d0ff4b84ae1
tree724560467cbdc2943e65b6235126c99558491751
parent0b7c1528fb741803396da68a9d8d285ff7db731c
perf evlist: Remove stale mmap read for backward

perf_evlist__mmap_read_catchup() and perf_evlist__mmap_read_backward()
are only for overwrite mode.

But they read the evlist->mmap buffer which is for non-overwrite mode.

It did not bring any serious problem yet, because there is no one use
it.

Remove the unused interfaces.

Signed-off-by: Kan Liang <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Wang Nan <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/evlist.c
tools/perf/util/evlist.h