Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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()
1524 static int parse_groups(struct evlist *perf_evlist, in parse_groups() argument
1672 evlist__splice_list_tail(perf_evlist, &combined_evlist->core.entries); in parse_groups()
1678 evlist__splice_list_tail(perf_evlist, &m->evlist->core.entries); in parse_groups()
1686 int metricgroup__parse_groups(struct evlist *perf_evlist, in metricgroup__parse_groups() argument
1704 return parse_groups(perf_evlist, pmu, str, metric_no_group, metric_no_merge, in metricgroup__parse_groups()
Devlist.h56 struct perf_evlist core;
Devlist.c836 perf_evlist__mmap_cb_idx(struct perf_evlist *_evlist, in perf_evlist__mmap_cb_idx()
849 perf_evlist__mmap_cb_get(struct perf_evlist *_evlist, bool overwrite, int idx) in perf_evlist__mmap_cb_get()
/linux-6.12.1/tools/lib/perf/Documentation/examples/
Dcounting.c21 struct perf_evlist *evlist; in main()
Dsampling.c25 struct perf_evlist *evlist; in main()
/linux-6.12.1/tools/perf/tests/
Dpfm.c15 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events()