Searched refs:perf_mmap (Results 1 – 21 of 21) sorted by relevance
/Linux-v4.19/tools/perf/util/ |
D | mmap.h | 17 struct perf_mmap { struct 64 int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd, int cpu); 65 void perf_mmap__munmap(struct perf_mmap *map); 67 void perf_mmap__get(struct perf_mmap *map); 68 void perf_mmap__put(struct perf_mmap *map); 70 void perf_mmap__consume(struct perf_mmap *map); 72 static inline u64 perf_mmap__read_head(struct perf_mmap *mm) in perf_mmap__read_head() 80 static inline void perf_mmap__write_tail(struct perf_mmap *md, u64 tail) in perf_mmap__write_tail() 91 union perf_event *perf_mmap__read_forward(struct perf_mmap *map); 93 union perf_event *perf_mmap__read_event(struct perf_mmap *map); [all …]
|
D | mmap.c | 18 size_t perf_mmap__mmap_len(struct perf_mmap *map) in perf_mmap__mmap_len() 24 static union perf_event *perf_mmap__read(struct perf_mmap *map, in perf_mmap__read() 78 union perf_event *perf_mmap__read_event(struct perf_mmap *map) in perf_mmap__read_event() 100 static bool perf_mmap__empty(struct perf_mmap *map) in perf_mmap__empty() 105 void perf_mmap__get(struct perf_mmap *map) in perf_mmap__get() 110 void perf_mmap__put(struct perf_mmap *map) in perf_mmap__put() 118 void perf_mmap__consume(struct perf_mmap *map) in perf_mmap__consume() 156 void perf_mmap__munmap(struct perf_mmap *map) in perf_mmap__munmap() 167 int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd, int cpu) in perf_mmap__mmap() 238 static int __perf_mmap__read_init(struct perf_mmap *md) in __perf_mmap__read_init() [all …]
|
D | evlist.h | 45 struct perf_mmap *mmap; 46 struct perf_mmap *overwrite_mmap;
|
D | evlist.c | 455 struct perf_mmap *map, short revent) in __perf_evlist__add_pollfd() 479 struct perf_mmap *map = fda->priv[fd].ptr; in perf_evlist__munmap_filtered() 725 static struct perf_mmap *perf_evlist__alloc_mmap(struct perf_evlist *evlist, in perf_evlist__alloc_mmap() 729 struct perf_mmap *map; in perf_evlist__alloc_mmap() 734 map = zalloc(evlist->nr_mmaps * sizeof(struct perf_mmap)); in perf_evlist__alloc_mmap() 773 struct perf_mmap *maps = evlist->mmap; in perf_evlist__mmap_per_evsel()
|
D | python.c | 980 static struct perf_mmap *get_md(struct perf_evlist *evlist, int cpu) in get_md() 985 struct perf_mmap *md = &evlist->mmap[i]; in get_md() 1001 struct perf_mmap *md; in pyrf_evlist__read_on_cpu()
|
/Linux-v4.19/tools/perf/tests/ |
D | openat-syscall-tp-fields.c | 89 struct perf_mmap *md; in test__syscall_openat_tp_fields()
|
D | task-exit.c | 50 struct perf_mmap *md; in test__task_exit()
|
D | sw-clock.c | 42 struct perf_mmap *md; in __test__sw_clock_freq()
|
D | keep-tracking.c | 30 struct perf_mmap *md; in find_comm()
|
D | backward-ring-buffer.c | 34 struct perf_mmap *map = &evlist->overwrite_mmap[i]; in count_samples()
|
D | mmap-basic.c | 41 struct perf_mmap *md; in test__basic_mmap()
|
D | perf-record.c | 167 struct perf_mmap *md; in test__PERF_RECORD()
|
D | bpf.c | 179 struct perf_mmap *md; in do_test()
|
D | switch-tracking.c | 261 struct perf_mmap *md; in process_events()
|
D | code-reading.c | 413 struct perf_mmap *md; in process_events()
|
/Linux-v4.19/tools/perf/arch/x86/tests/ |
D | perf-time-to-tsc.c | 63 struct perf_mmap *md; in test__perf_time_to_tsc()
|
/Linux-v4.19/tools/perf/ |
D | builtin-top.c | 809 struct perf_mmap *md; in perf_top__mmap_read_idx()
|
D | builtin-kvm.c | 748 struct perf_mmap *md; in perf_kvm__mmap_read_idx()
|
D | builtin-record.c | 519 struct perf_mmap *maps; in record__mmap_read_evlist()
|
D | builtin-trace.c | 2596 struct perf_mmap *md; in trace__run()
|
/Linux-v4.19/kernel/events/ |
D | core.c | 5549 static int perf_mmap(struct file *file, struct vm_area_struct *vma) in perf_mmap() function 5769 .mmap = perf_mmap,
|