summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/evlist.h
diff options
context:
space:
mode:
authorKan Liang2018-03-02 00:09:11 +0100
committerArnaldo Carvalho de Melo2018-03-05 14:51:10 +0100
commit6afad54d2f0ddebacfcf3b829147d7fed8dab298 (patch)
treebddcf91a72cd0d8effd7b1d4732a3a859cf8f157 /tools/perf/util/evlist.h
parentperf test: Switch to new perf_mmap__read_event() interface for task-exit (diff)
downloadkernel-qcow2-linux-6afad54d2f0ddebacfcf3b829147d7fed8dab298.tar.gz
kernel-qcow2-linux-6afad54d2f0ddebacfcf3b829147d7fed8dab298.tar.xz
kernel-qcow2-linux-6afad54d2f0ddebacfcf3b829147d7fed8dab298.zip
perf mmap: Discard legacy interfaces for mmap read forward
Discards legacy interfaces perf_evlist__mmap_read_forward(), perf_evlist__mmap_read() and perf_evlist__mmap_consume(). No tools use them. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1519945751-37786-14-git-send-email-kan.liang@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evlist.h')
-rw-r--r--tools/perf/util/evlist.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h
index 336b838e6957..6c41b2f78713 100644
--- a/tools/perf/util/evlist.h
+++ b/tools/perf/util/evlist.h
@@ -129,10 +129,6 @@ struct perf_sample_id *perf_evlist__id2sid(struct perf_evlist *evlist, u64 id);
void perf_evlist__toggle_bkw_mmap(struct perf_evlist *evlist, enum bkw_mmap_state state);
-union perf_event *perf_evlist__mmap_read(struct perf_evlist *evlist, int idx);
-
-union perf_event *perf_evlist__mmap_read_forward(struct perf_evlist *evlist,
- int idx);
void perf_evlist__mmap_consume(struct perf_evlist *evlist, int idx);
int perf_evlist__open(struct perf_evlist *evlist);