Home
last modified time | relevance | path

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

/tools/perf/lib/include/perf/
Devlist.h7 struct perf_evlist;
12 LIBPERF_API void perf_evlist__init(struct perf_evlist *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);
[all …]
/tools/perf/lib/
Devlist.c22 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init()
32 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps()
51 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps()
59 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add()
67 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove()
74 struct perf_evlist *perf_evlist__new(void) in perf_evlist__new()
76 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new()
85 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next()
104 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete()
109 void perf_evlist__set_maps(struct perf_evlist *evlist, in perf_evlist__set_maps()
[all …]
/tools/perf/lib/include/internal/
Devlist.h15 struct perf_evlist { struct
27 int perf_evlist__alloc_pollfd(struct perf_evlist *evlist); argument
28 int perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd,
63 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first()
68 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
73 u64 perf_evlist__read_format(struct perf_evlist *evlist);
75 void perf_evlist__id_add(struct perf_evlist *evlist,
79 int perf_evlist__id_add_fd(struct perf_evlist *evlist,
/tools/perf/lib/Documentation/man/
Dlibperf.rst10 - struct perf_evlist
53 void perf_evlist__init(struct perf_evlist \*evlist);
54 void perf_evlist__add(struct perf_evlist \*evlist,
56 void perf_evlist__remove(struct perf_evlist \*evlist,
58 struct perf_evlist \*perf_evlist__new(void);
59 void perf_evlist__delete(struct perf_evlist \*evlist);
60 struct perf_evsel\* perf_evlist__next(struct perf_evlist \*evlist,
62 int perf_evlist__open(struct perf_evlist \*evlist);
63 void perf_evlist__close(struct perf_evlist \*evlist);
64 void perf_evlist__enable(struct perf_evlist \*evlist);
[all …]
/tools/perf/lib/tests/
Dtest-evlist.c20 struct perf_evlist *evlist; in test_stat_cpu()
75 struct perf_evlist *evlist; in test_stat_thread()
126 struct perf_evlist *evlist; in test_stat_thread_enable()
/tools/perf/util/
Dmetricgroup.c93 static struct evsel *find_evsel_group(struct evlist *perf_evlist, in find_evsel_group() argument
102 evlist__for_each_entry (perf_evlist, ev) { in find_evsel_group()
139 evlist__for_each_entry(perf_evlist, ev) { in find_evsel_group()
154 struct evlist *perf_evlist, in metricgroup__setup_events() argument
172 evsel = find_evsel_group(perf_evlist, eg->ids, eg->idnum, in metricgroup__setup_events()
521 struct evlist *perf_evlist = *(struct evlist **)opt->value; in metricgroup__parse_groups() local
533 ret = parse_events(perf_evlist, extra_events.buf, &parse_error); in metricgroup__parse_groups()
539 ret = metricgroup__setup_events(&group_list, perf_evlist, in metricgroup__parse_groups()
Devlist.h52 struct perf_evlist core;
/tools/perf/lib/Documentation/tutorial/
Dtutorial.rst28 struct perf_evlist