Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/perf/include/internal/
Dmmap.h14 struct perf_mmap;
17 typedef void (*libperf_unmap_cb_t)(struct perf_mmap *map);
24 struct perf_mmap { struct
37 struct perf_mmap *next; argument
45 size_t perf_mmap__mmap_len(struct perf_mmap *map);
47 void perf_mmap__init(struct perf_mmap *map, struct perf_mmap *prev,
49 int perf_mmap__mmap(struct perf_mmap *map, struct perf_mmap_param *mp,
51 void perf_mmap__munmap(struct perf_mmap *map);
52 void perf_mmap__get(struct perf_mmap *map);
53 void perf_mmap__put(struct perf_mmap *map);
[all …]
Devlist.h34 struct perf_mmap *mmap;
35 struct perf_mmap *mmap_ovw;
36 struct perf_mmap *mmap_first;
37 struct perf_mmap *mmap_ovw_first;
43 typedef struct perf_mmap*
46 (*perf_evlist_mmap__cb_mmap_t)(struct perf_mmap*, struct perf_mmap_param*, int, struct perf_cpu);
/linux-6.6.21/tools/lib/perf/include/perf/
Dmmap.h7 struct perf_mmap;
10 LIBPERF_API void perf_mmap__consume(struct perf_mmap *map);
11 LIBPERF_API int perf_mmap__read_init(struct perf_mmap *map);
12 LIBPERF_API void perf_mmap__read_done(struct perf_mmap *map);
13 LIBPERF_API union perf_event *perf_mmap__read_event(struct perf_mmap *map);
Devlist.h41 LIBPERF_API struct perf_mmap *perf_evlist__next_mmap(struct perf_evlist *evlist,
42 struct perf_mmap *map,
/linux-6.6.21/tools/lib/perf/
Dmmap.c19 void perf_mmap__init(struct perf_mmap *map, struct perf_mmap *prev, in perf_mmap__init()
30 size_t perf_mmap__mmap_len(struct perf_mmap *map) in perf_mmap__mmap_len()
35 int perf_mmap__mmap(struct perf_mmap *map, struct perf_mmap_param *mp, in perf_mmap__mmap()
52 void perf_mmap__munmap(struct perf_mmap *map) in perf_mmap__munmap()
64 void perf_mmap__get(struct perf_mmap *map) in perf_mmap__get()
69 void perf_mmap__put(struct perf_mmap *map) in perf_mmap__put()
77 static inline void perf_mmap__write_tail(struct perf_mmap *md, u64 tail) in perf_mmap__write_tail()
82 u64 perf_mmap__read_head(struct perf_mmap *map) in perf_mmap__read_head()
87 static bool perf_mmap__empty(struct perf_mmap *map) in perf_mmap__empty()
94 void perf_mmap__consume(struct perf_mmap *map) in perf_mmap__consume()
[all …]
Devlist.c356 struct perf_mmap *map = fda->priv[fd].ptr; in perf_evlist__munmap_filtered()
373 static struct perf_mmap* perf_evlist__alloc_mmap(struct perf_evlist *evlist, bool overwrite) in perf_evlist__alloc_mmap()
376 struct perf_mmap *map; in perf_evlist__alloc_mmap()
378 map = zalloc(evlist->nr_mmaps * sizeof(struct perf_mmap)); in perf_evlist__alloc_mmap()
383 struct perf_mmap *prev = i ? &map[i - 1] : NULL; in perf_evlist__alloc_mmap()
409 static struct perf_mmap*
412 struct perf_mmap *maps; in perf_evlist__mmap_cb_get()
433 perf_evlist__mmap_cb_mmap(struct perf_mmap *map, struct perf_mmap_param *mp, in perf_evlist__mmap_cb_mmap()
439 static void perf_evlist__set_mmap_first(struct perf_evlist *evlist, struct perf_mmap *map, in perf_evlist__set_mmap_first()
460 struct perf_mmap *map; in mmap_per_evsel()
[all …]
Devsel.c49 (_evsel->mmap ? ((struct perf_mmap *) xyarray__entry(_evsel->mmap, _cpu_map_idx, _thread)) \
74 evsel->mmap = xyarray__new(ncpus, nthreads, sizeof(struct perf_mmap)); in perf_evsel__alloc_mmap()
262 struct perf_mmap *map; in perf_evsel__mmap()
/linux-6.6.21/tools/lib/perf/Documentation/
Dlibperf.txt109 struct perf_mmap *perf_evlist__next_mmap(struct perf_evlist *evlist,
110 struct perf_mmap *map,
161 struct perf_mmap;
163 void perf_mmap__consume(struct perf_mmap *map);
164 int perf_mmap__read_init(struct perf_mmap *map);
165 void perf_mmap__read_done(struct perf_mmap *map);
166 union perf_event *perf_mmap__read_event(struct perf_mmap *map);
233 struct perf_mmap:: Provides an abstraction for accessing perf ring buffer.
/linux-6.6.21/tools/perf/util/
Dmmap.h30 struct perf_mmap core;
Devlist.c795 static void perf_mmap__unmap_cb(struct perf_mmap *map) in perf_mmap__unmap_cb()
813 struct perf_mmap *prev = i ? &map[i - 1].core : NULL; in evlist__alloc_mmap()
843 static struct perf_mmap*
869 perf_evlist__mmap_cb_mmap(struct perf_mmap *_map, struct perf_mmap_param *_mp, in perf_evlist__mmap_cb_mmap()
/linux-6.6.21/tools/lib/perf/Documentation/examples/
Dsampling.c27 struct perf_mmap *map; in main()
/linux-6.6.21/tools/lib/perf/tests/
Dtest-evlist.c217 struct perf_mmap *map; in test_mmap_thread()
328 struct perf_mmap *map; in test_mmap_cpus()
/linux-6.6.21/tools/perf/
Dbuiltin-record.c1620 struct perf_mmap *map = fda->priv[fd].ptr; in record__thread_munmap_filtered()
/linux-6.6.21/kernel/events/
Dcore.c6425 static int perf_mmap(struct file *file, struct vm_area_struct *vma) in perf_mmap() function
6664 .mmap = perf_mmap,