#include <sys/mman.h>
#include <inttypes.h>
#include <asm/bug.h>
#include "debug.h"
#include "event.h"
#include "mmap.h"
#include "util.h"
Go to the source code of this file.
|
size_t | perf_mmap__mmap_len (struct perf_mmap *map) |
|
static union perf_event * | perf_mmap__read (struct perf_mmap *map, u64 *startp, u64 end) |
|
union perf_event * | perf_mmap__read_event (struct perf_mmap *map) |
|
static bool | perf_mmap__empty (struct perf_mmap *map) |
|
void | perf_mmap__get (struct perf_mmap *map) |
|
void | perf_mmap__put (struct perf_mmap *map) |
|
void | perf_mmap__consume (struct perf_mmap *map) |
|
int __weak | auxtrace_mmap__mmap (struct auxtrace_mmap *mm __maybe_unused, struct auxtrace_mmap_params *mp __maybe_unused, void *userpg __maybe_unused, int fd __maybe_unused) |
|
void __weak | auxtrace_mmap__munmap (struct auxtrace_mmap *mm __maybe_unused) |
|
void __weak | auxtrace_mmap_params__init (struct auxtrace_mmap_params *mp __maybe_unused, off_t auxtrace_offset __maybe_unused, unsigned int auxtrace_pages __maybe_unused, bool auxtrace_overwrite __maybe_unused) |
|
void __weak | auxtrace_mmap_params__set_idx (struct auxtrace_mmap_params *mp __maybe_unused, struct perf_evlist *evlist __maybe_unused, int idx __maybe_unused, bool per_cpu __maybe_unused) |
|
void | perf_mmap__munmap (struct perf_mmap *map) |
|
int | perf_mmap__mmap (struct perf_mmap *map, struct mmap_params *mp, int fd) |
|
static int | overwrite_rb_find_range (void *buf, int mask, u64 *start, u64 *end) |
|
static int | __perf_mmap__read_init (struct perf_mmap *md) |
|
int | perf_mmap__read_init (struct perf_mmap *map) |
|
int | perf_mmap__push (struct perf_mmap *md, void *to, int push(void *to, void *buf, size_t size)) |
|
void | perf_mmap__read_done (struct perf_mmap *map) |
|
◆ __perf_mmap__read_init()
static int __perf_mmap__read_init |
( |
struct perf_mmap * |
md | ) |
|
|
static |
◆ auxtrace_mmap__mmap()
int __weak auxtrace_mmap__mmap |
( |
struct auxtrace_mmap *mm |
__maybe_unused, |
|
|
struct auxtrace_mmap_params *mp |
__maybe_unused, |
|
|
void *userpg |
__maybe_unused, |
|
|
int fd |
__maybe_unused |
|
) |
| |
◆ auxtrace_mmap__munmap()
void __weak auxtrace_mmap__munmap |
( |
struct auxtrace_mmap *mm |
__maybe_unused | ) |
|
◆ auxtrace_mmap_params__init()
void __weak auxtrace_mmap_params__init |
( |
struct auxtrace_mmap_params *mp |
__maybe_unused, |
|
|
off_t auxtrace_offset |
__maybe_unused, |
|
|
unsigned int auxtrace_pages |
__maybe_unused, |
|
|
bool auxtrace_overwrite |
__maybe_unused |
|
) |
| |
◆ auxtrace_mmap_params__set_idx()
void __weak auxtrace_mmap_params__set_idx |
( |
struct auxtrace_mmap_params *mp |
__maybe_unused, |
|
|
struct perf_evlist *evlist |
__maybe_unused, |
|
|
int idx |
__maybe_unused, |
|
|
bool per_cpu |
__maybe_unused |
|
) |
| |
◆ overwrite_rb_find_range()
static int overwrite_rb_find_range |
( |
void * |
buf, |
|
|
int |
mask, |
|
|
u64 * |
start, |
|
|
u64 * |
end |
|
) |
| |
|
static |
◆ perf_mmap__consume()
void perf_mmap__consume |
( |
struct perf_mmap * |
map | ) |
|
◆ perf_mmap__empty()
static bool perf_mmap__empty |
( |
struct perf_mmap * |
map | ) |
|
|
static |
◆ perf_mmap__get()
void perf_mmap__get |
( |
struct perf_mmap * |
map | ) |
|
◆ perf_mmap__mmap()
◆ perf_mmap__mmap_len()
size_t perf_mmap__mmap_len |
( |
struct perf_mmap * |
map | ) |
|
◆ perf_mmap__munmap()
void perf_mmap__munmap |
( |
struct perf_mmap * |
map | ) |
|
◆ perf_mmap__push()
int perf_mmap__push |
( |
struct perf_mmap * |
md, |
|
|
void * |
to, |
|
|
int |
pushvoid *to, void *buf, size_t size |
|
) |
| |
◆ perf_mmap__put()
void perf_mmap__put |
( |
struct perf_mmap * |
map | ) |
|
◆ perf_mmap__read()
◆ perf_mmap__read_done()
void perf_mmap__read_done |
( |
struct perf_mmap * |
map | ) |
|
◆ perf_mmap__read_event()
◆ perf_mmap__read_init()
int perf_mmap__read_init |
( |
struct perf_mmap * |
map | ) |
|