mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
libperf: Adopt perf_mmap__get() function from tools/perf
Move perf_mmap__get() from tools/perf to libperf in the internal header internal/mmap.h. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20191007125344.14268-6-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
32c261c070
commit
e75710f063
6 changed files with 8 additions and 8 deletions
|
@ -45,7 +45,6 @@ struct mmap_params {
|
|||
int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, int cpu);
|
||||
void perf_mmap__munmap(struct mmap *map);
|
||||
|
||||
void perf_mmap__get(struct mmap *map);
|
||||
void perf_mmap__put(struct mmap *map);
|
||||
|
||||
void perf_mmap__consume(struct mmap *map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue