Move libperf from its current location under tools/perf to a separate directory under tools/lib/. Also change various paths (mainly includes) to reflect the libperf move to a separate directory and add a new directory under MANIFEST. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> 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/20191206210612.8676-2-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
15 lines
441 B
C
15 lines
441 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __LIBPERF_MMAP_H
|
|
#define __LIBPERF_MMAP_H
|
|
|
|
#include <perf/core.h>
|
|
|
|
struct perf_mmap;
|
|
union perf_event;
|
|
|
|
LIBPERF_API void perf_mmap__consume(struct perf_mmap *map);
|
|
LIBPERF_API int perf_mmap__read_init(struct perf_mmap *map);
|
|
LIBPERF_API void perf_mmap__read_done(struct perf_mmap *map);
|
|
LIBPERF_API union perf_event *perf_mmap__read_event(struct perf_mmap *map);
|
|
|
|
#endif /* __LIBPERF_MMAP_H */
|