Home
last modified time | relevance | path

Searched refs:perf_mmap (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dmmap.h17 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 …]
Dmmap.c18 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 …]
Devlist.h45 struct perf_mmap *mmap;
46 struct perf_mmap *overwrite_mmap;
Devlist.c455 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()
Dpython.c980 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/
Dopenat-syscall-tp-fields.c89 struct perf_mmap *md; in test__syscall_openat_tp_fields()
Dtask-exit.c50 struct perf_mmap *md; in test__task_exit()
Dsw-clock.c42 struct perf_mmap *md; in __test__sw_clock_freq()
Dkeep-tracking.c30 struct perf_mmap *md; in find_comm()
Dbackward-ring-buffer.c34 struct perf_mmap *map = &evlist->overwrite_mmap[i]; in count_samples()
Dmmap-basic.c41 struct perf_mmap *md; in test__basic_mmap()
Dperf-record.c167 struct perf_mmap *md; in test__PERF_RECORD()
Dbpf.c179 struct perf_mmap *md; in do_test()
Dswitch-tracking.c261 struct perf_mmap *md; in process_events()
Dcode-reading.c413 struct perf_mmap *md; in process_events()
/Linux-v4.19/tools/perf/arch/x86/tests/
Dperf-time-to-tsc.c63 struct perf_mmap *md; in test__perf_time_to_tsc()
/Linux-v4.19/tools/perf/
Dbuiltin-top.c809 struct perf_mmap *md; in perf_top__mmap_read_idx()
Dbuiltin-kvm.c748 struct perf_mmap *md; in perf_kvm__mmap_read_idx()
Dbuiltin-record.c519 struct perf_mmap *maps; in record__mmap_read_evlist()
Dbuiltin-trace.c2596 struct perf_mmap *md; in trace__run()
/Linux-v4.19/kernel/events/
Dcore.c5549 static int perf_mmap(struct file *file, struct vm_area_struct *vma) in perf_mmap() function
5769 .mmap = perf_mmap,