Lines Matching refs:evsel

14 #include "evsel.h"
96 struct perf_pmu *evsel__find_pmu(const struct evsel *evsel __maybe_unused)
111 bool evsel__is_aux_event(const struct evsel *evsel __maybe_unused)
140 * XXX: All these evsel destructors need some better mechanism, like a linked
148 void bpf_counter__destroy(struct evsel *evsel);
149 int bpf_counter__install_pe(struct evsel *evsel, int cpu, int fd);
150 int bpf_counter__disable(struct evsel *evsel);
152 void bpf_counter__destroy(struct evsel *evsel __maybe_unused)
156 int bpf_counter__install_pe(struct evsel *evsel __maybe_unused, int cpu __maybe_unused, int fd __maybe_unused)
161 int bpf_counter__disable(struct evsel *evsel __maybe_unused)
168 int perf_bpf_filter__prepare(struct evsel *evsel __maybe_unused)
173 int perf_bpf_filter__destroy(struct evsel *evsel __maybe_unused)
226 struct evsel *evsel;
471 return pevent->evsel->core.attr.type == PERF_TYPE_TRACEPOINT;
519 struct evsel *evsel = pevent->evsel;
522 if (!evsel->tp_format) {
525 tp_format = trace_event__tp_format_id(evsel->core.attr.config);
529 evsel->tp_format = tp_format;
532 field = tep_find_any_field(evsel->tp_format, str);
813 struct evsel evsel;
921 evsel__init(&pevsel->evsel, &attr, idx);
927 evsel__exit(&pevsel->evsel);
934 struct evsel *evsel = &pevsel->evsel;
951 evsel->core.attr.inherit = inherit;
953 * This will group just the fds for this single evsel, to group
956 if (evsel__open(evsel, cpus, threads) < 0) {
979 .tp_name = "perf.evsel",
1105 struct evsel *evsel;
1111 evsel = &((struct pyrf_evsel *)pevsel)->evsel;
1112 evsel->core.idx = evlist->core.nr_entries;
1113 evlist__add(evlist, evsel);
1157 struct evsel *evsel;
1162 evsel = evlist__event2evsel(evlist, event);
1163 if (!evsel) {
1168 pevent->evsel = evsel;
1170 err = evsel__parse_sample(evsel, event, &pevent->sample);
1249 struct evsel *pos;
1259 return Py_BuildValue("O", container_of(pos, struct pyrf_evsel, evsel));
1448 PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type);