Home
last modified time | relevance | path

Searched refs:perf_evlist (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/tools/lib/perf/include/perf/
Devlist.h8 struct perf_evlist;
13 LIBPERF_API void perf_evlist__add(struct perf_evlist *evlist,
15 LIBPERF_API void perf_evlist__remove(struct perf_evlist *evlist,
17 LIBPERF_API struct perf_evlist *perf_evlist__new(void);
18 LIBPERF_API void perf_evlist__delete(struct perf_evlist *evlist);
19 LIBPERF_API struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist,
21 LIBPERF_API int perf_evlist__open(struct perf_evlist *evlist);
22 LIBPERF_API void perf_evlist__close(struct perf_evlist *evlist);
23 LIBPERF_API void perf_evlist__enable(struct perf_evlist *evlist);
24 LIBPERF_API void perf_evlist__disable(struct perf_evlist *evlist);
[all …]
/Linux-v6.6/tools/lib/perf/include/internal/
Devlist.h17 struct perf_evlist { struct
41 (*perf_evlist_mmap__cb_idx_t)(struct perf_evlist*, struct perf_evsel*, argument
44 (*perf_evlist_mmap__cb_get_t)(struct perf_evlist*, bool, int);
54 int perf_evlist__alloc_pollfd(struct perf_evlist *evlist);
55 int perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd,
58 int perf_evlist__mmap_ops(struct perf_evlist *evlist,
62 void perf_evlist__init(struct perf_evlist *evlist);
63 void perf_evlist__exit(struct perf_evlist *evlist);
115 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first()
120 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
[all …]
/Linux-v6.6/tools/lib/perf/
Devlist.c28 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init()
36 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps()
81 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps()
91 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add()
102 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove()
109 struct perf_evlist *perf_evlist__new(void) in perf_evlist__new()
111 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new()
120 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next()
139 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge()
151 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit()
[all …]
/Linux-v6.6/tools/lib/perf/Documentation/
Dlibperf.txt82 struct perf_evlist;
84 void perf_evlist__add(struct perf_evlist *evlist,
86 void perf_evlist__remove(struct perf_evlist *evlist,
88 struct perf_evlist *perf_evlist__new(void);
89 void perf_evlist__delete(struct perf_evlist *evlist);
90 struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist,
92 int perf_evlist__open(struct perf_evlist *evlist);
93 void perf_evlist__close(struct perf_evlist *evlist);
94 void perf_evlist__enable(struct perf_evlist *evlist);
95 void perf_evlist__disable(struct perf_evlist *evlist);
[all …]
/Linux-v6.6/tools/lib/perf/tests/
Dtest-evlist.c37 struct perf_evlist *evlist; in test_stat_cpu()
96 struct perf_evlist *evlist; in test_stat_thread()
151 struct perf_evlist *evlist; in test_stat_thread_enable()
215 struct perf_evlist *evlist; in test_mmap_thread()
326 struct perf_evlist *evlist; in test_mmap_cpus()
444 struct perf_evlist *evlist; in test_stat_multiplexing()
/Linux-v6.6/tools/perf/util/
Dmetricgroup.h72 int metricgroup__parse_groups(struct evlist *perf_evlist,
Dmetricgroup.c609 static int decode_all_metric_ids(struct evlist *perf_evlist, const char *modifier) in decode_all_metric_ids() argument
616 evlist__for_each_entry(perf_evlist, ev) { in decode_all_metric_ids()
1523 static int parse_groups(struct evlist *perf_evlist, in parse_groups() argument
1671 evlist__splice_list_tail(perf_evlist, &combined_evlist->core.entries); in parse_groups()
1677 evlist__splice_list_tail(perf_evlist, &m->evlist->core.entries); in parse_groups()
1685 int metricgroup__parse_groups(struct evlist *perf_evlist, in metricgroup__parse_groups() argument
1700 return parse_groups(perf_evlist, pmu, str, metric_no_group, metric_no_merge, in metricgroup__parse_groups()
Devlist.h55 struct perf_evlist core;
Devlist.c823 perf_evlist__mmap_cb_idx(struct perf_evlist *_evlist, in perf_evlist__mmap_cb_idx()
836 perf_evlist__mmap_cb_get(struct perf_evlist *_evlist, bool overwrite, int idx) in perf_evlist__mmap_cb_get()
/Linux-v6.6/tools/lib/perf/Documentation/examples/
Dcounting.c21 struct perf_evlist *evlist; in main()
Dsampling.c25 struct perf_evlist *evlist; in main()
/Linux-v6.6/tools/perf/tests/
Dpfm.c15 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events()